Skip to content

allowReserved sits on a non-query parameter

spec.operation.allow-reserved-misplaced

Category
API specification
Default severity
Note
Applies to
API specification
Default outcome
Informational
Recommended action
No action needed
Grouped by
Defect code

Why it matters

OpenAPI defines allowReserved for query parameters only; the keyword was dropped automatically, leaving request behavior unchanged.

How to fix it

  1. Optionally remove "allowReserved" from the parameter in the source.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.

Try-It is disabled for this portal. Copy the request from the console above to run it yourself.