Skip to main content



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

The Parameter Object must specify a location for the parameter using the in property. The location identifies where the parameter needs to be sent in the request and must not be null or empty. Possible values are 'query', 'header', 'path' or 'cookie'.

Maximum SeverityError
MessageRequired in property in Parameter Object is missing.
Rule SystemSemantic
Broad CategoryParameters
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsopenapi3 openapi standards semantic validation location parameter

Suggested Fixes

  • Add missing in property in the Parameter object.
  • Make sure that the in property is not null or empty.
  • Make sure that the value of the in property is one of the following values: 'query', 'header', 'path', 'cookie'. The values are case-sensitive.

For More Information