OpenAPI Components Parameters Required Error (Edit)

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

OpenAPIComponentsParametersMetadataDefault

Rule Definition

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

Back to All of the Rules