OpenAPI Path Parameters Camel Case (Edit)

Path parameters should follow camelCase naming convention for consistency across the API, making parameter names predictable and aligned with common programming conventions.

OpenAPIPathsParametersCasing

Rule Definition

openapi-paths-parameters-camel-case-warn.yaml
{"openapi-paths-parameters-camel-case-warn":{"description":"Path parameters should follow camelCase naming convention for consistency across the API, making parameter names predictable and aligned with common programming conventions.","message":"Path parameters SHOULD be camelCase.","given":"$.paths[*].parameters[?(@.in=='path')].name","severity":"warn","then":{"function":"pattern","functionOptions":{"match":"^[a-z][a-zA-Z0-9]*$"}}}}

Back to All of the Rules