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

Implement the becauseOfUnexpectedArgumentIsNotAllowed exception to disallow unknown query parameters. #236

Open
BBGuy opened this issue Oct 15, 2024 · 0 comments

Comments

@BBGuy
Copy link

BBGuy commented Oct 15, 2024

I know OpenAPI does not support the disallowing of query parameters not defined in the document. However, as we have the exception for it it would be great if we could make this optional functionality.
Not sure how it can be made optional but Attaching a simple patch that adds this functionality.
If anyone knows of another way of doing this I would love to know.
ImplementbecauseOfUnexpectedArgumentIsNotAllowed.patch

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