OpenAPI Components Parameters Casing Camel Error (Edit)

Providing parameters with consistent naming helps make it easier for API consumers to understand how they are able to configure their API requests

OpenAPIComponentsParametersMetadataDefault

Rule Definition

openapi-components-parameters-casing-camel-error.yaml
{"openapi-components-parameters-casing-camel-error":{"description":"Providing parameters with consistent naming helps make it easier for API consumers to understand how they are able to configure their API requests","message":"Parameters Names MUST Be Camel Case","severity":"error","given":"$.components.parameters.*","then":[{"field":"name","function":"pattern","functionOptions":{"notMatch":"^[a-z]+(?:[A-Z][a-z]+)*$"}},{"field":"name","function":"pattern","functionOptions":{"match":"^[A-Z](([a-z0-9]+[A-Z]?)*)$"}}]}}

Back to All of the Rules