Skip to main content

no-numeric-ids

Flags identifier-like parameters whose resolved schema includes integer type.

AttributeValue
CategorySecurity
MaturityPlatinum
LenientWarning
Recommended–CompleteError

See it fail

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

Fix it

Use non-sequential identifiers, for example { type: string, format: uuid }.

Nearby: x-request-id-uuid-format.