Skip to main content
Doctorine reference
On this pageOverview

allowReserved sits on a non-query parameter

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

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.
Documentation menu