OpenAPI Components Parameters Required Info (Edit)

Providrequiredg an required property for parameters gets explicit about whether a parameter is required the path, query, or a header, makrequiredg it clear to consumers where they can configure their request.

OpenAPIComponentsParametersMetadataDefault

Rule Definition

openapi-components-parameters-required-info.yaml
{"openapi-components-parameters-required-info":{"description":"Providrequiredg an required property for parameters gets explicit about whether a parameter is required the path, query, or a header, makrequiredg it clear to consumers where they can configure their request.","message":"Parameters Required Property Is Set","severity":"info","given":"$.components.parameters.*","then":{"field":"required","function":"falsy"}}}

Back to All of the Rules