OpenAPI Path Kebab Case (Edit)

Path segments should be kebab case and not have different casing that could cause other problems.

OpenAPIPathsCasingDefault

Rule Definition

openapi-paths-query-error.yaml
{"openapi-no-api-in-path-error":{"description":"Path segments should be kebab case and not have different casing that could cause other problems.","message":"Path Segments MUST Be Kebab Case","severity":"error","given":"$.paths.*~","then":{"function":"pattern","functionOptions":{"match":"^(/|[a-z0-9-.]+|{[a-zA-Z0-9]+})+$"}}}}

Back to All of the Rules