Skip to main content

path-parameters-snake-case

Requires every in: path parameter name to use lowercase snake_case.

AttributeValue
CategoryParameters
MaturityGold
StarterOff
Lenient–CompleteError

See it fail

- in: path
name: accountId
required: true
schema: { type: string }

Fix it

- in: path
name: account_id
required: true
schema: { type: string }

Rename the matching {accountId} placeholder too.

Configure under profiles.<name>.rules.override.path-parameters-snake-case.

Nearby: query-parameter-camel-case, path-params-defined.