OpenAPI Components Parameters Enum Casing Error (Edit)

Keeping parameters enumerator casing consistent across APIs helps reduce confusion by consumers, and can keep aligned with services and applications putting an API to work

OpenAPIComponentsParametersEnumeratorsTypeDefault

Rule Definition

openapi-components-parameters-enum-casing-error.yaml
{"openapi-components-parameters-enum-casing-error":{"description":"Keeping parameters enumerator casing consistent across APIs helps reduce confusion by consumers, and can keep aligned with services and applications putting an API to work","message":"Parameters Enums MUST Must Be Upper Snake Case","severity":"error","given":"$.components.parameters.*.enum.*","then":{"function":"pattern","functionOptions":{"notMatch":"^[A-Z]+(?:_[A-Z]+)*$"}}}}

Back to All of the Rules