No flag to allow additional query parameters in the request
Issue #287
resolved
In the api.yml its not possible to declare an end point which can accept unknown query parameters.
Use Case:
- It should be possible to append additional query parameters that are not declared in api.yml.
- When request is validated against the yml spec, request should be valid
Actual: Validation fails with response Query parameter is unexpected on path <url>
Comments (2)
-
-
- changed status to resolved
- Log in to comment
You can achieve the behavior you’re looking for by controlling the validation level for the
validation.request.parameter.query.unexpected
key.See the README for details on how to control validation behavior.
If this is not sufficient for your use case please feel free to re-open the issue with some additional details.
Cheers,
James