No flag to allow additional query parameters in the request

Issue #287 resolved
Former user created an issue

In the api.yml its not possible to declare an end point which can accept unknown query parameters.

Use Case:

  1. It should be possible to append additional query parameters that are not declared in api.yml.
  2. 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)

  1. James Navin

    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

  2. Log in to comment