OpenAPI Components Parameters In Error (Edit)

Providing an in property for parameters gets explicit about whether a parameter is in the path, query, or a header, making it clear to consumers where they can configure their request

OpenAPIComponentsParametersMetadataDefault

Rule Definition

openapi-components-parameters-in-error.yaml
{"openapi-components-parameters-in-error":{"description":"Providing an in property for parameters gets explicit about whether a parameter is in the path, query, or a header, making it clear to consumers where they can configure their request","message":"Parameters In Property MUST Be Set","given":"$.components.parameters.*","then":{"field":"in","function":"truthy"}}}

Back to All of the Rules