-
-
Notifications
You must be signed in to change notification settings - Fork 235
Rejecting unknown query parameters should be optional #133
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Hi,
Would it be possible to make unknown query parameter validation optional?
https://github.com/cdimascio/express-openapi-validator/blob/master/src/middlewares/openapi.request.validator.ts#L109
Problem:
We have an API for a react-native app that needs to support multiple client versions. Some of the legacy versions still send query params which are no longer specified in the latest API spec as such we need to bypass the unknown query param validation.
Unfortunately there doesn't seem to be a way to make this validation optional atm.
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request