OpenAPI Components Parameters In Info (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-info.yaml
{"openapi-components-parameters-in-info":{"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 Is Set","severity":"info","given":"$.components.parameters.*","then":{"field":"in","function":"falsy"}}}

Back to All of the Rules