Skip to content

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

Open
@BBGuy

Description

@BBGuy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions