Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Schema allows additional properties #137

Open
bannatek opened this issue Oct 28, 2021 · 0 comments
Open

Schema allows additional properties #137

bannatek opened this issue Oct 28, 2021 · 0 comments

Comments

@bannatek
Copy link

bannatek commented Oct 28, 2021

Defining all properties of the accepted JSON payload in the schema itself still unintentionally allows additional properties in body of request.
Setting minimum and maximum values of the field in the schema object properties also doesn't work to prevent additional properties being passed in request.

Is there a way to limit the properties of an object in request body to the fields described in the schema and no additional properties?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant