OpenAPI Components Parameters Enum Casing Info (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-info.yaml
{"openapi-components-parameters-enum-casing-info":{"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 Are Upper Snake Case","severity":"info","given":"$.components.parameters.*.enum.*","then":{"function":"pattern","functionOptions":{"match":"^[A-Z]+(?:_[A-Z]+)*$"}}}}

Back to All of the Rules