OpenAPI Components Parameters Example Info (Edit)

Parameters must always possess a example to help define the format and shape of the parameter, setting expections with consumers about what should be passed in

OpenAPIComponentsParametersExample

Rule Definition

openapi-components-parameters-example-info.yaml
{"openapi-components-parameters-example-info":{"description":"Parameters must always possess a example to help define the format and shape of the parameter, setting expections with consumers about what should be passed in","message":"Parameters Have Example","severity":"info","given":"$.components.parameters.*","then":{"field":"example","function":"falsy"}}}

Back to All of the Rules