Skip to main content

no-allow-reserved-in-header

Overview

This rule belongs to the openapi-v3-standards-linting ruleset and states that:

Property allowReserved is only valid for query parameters (i.e. parameter location is set to query) and allows sending a parameter with reserved characters. This property cannot be used inside a header.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageProperty allowReserved is used for a header.
CodeOPENAPI3STANDARDS_L132
TypeLinting
Rule SystemSemantic
Broad CategoryHeaders
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic linting reserved header

Suggested Fixes

  • Remove property allowReserved from the current Header Object.

For More Information