StatsD · API Governance Rules
StatsD API Rules
Spectral linting rules defining API design standards and conventions for StatsD.
6 Rules
warn 6
Rule Categories
channel
message
no
operation
Rules
warn
channel-key-casing
Channel names should be camelCase (the dominant convention in this API).
$.channels
warn
message-name-casing
Message names should be PascalCase (the dominant convention in this API).
$.components.messages
warn
operation-id-casing
Operation names should be camelCase (the dominant convention in this API).
$.operations
warn
message-contenttype-defined
Messages should declare a contentType (set on 100% of this API's messages).
$.components.messages[*]
warn
message-payload-defined
Messages should define a payload schema (set on 100% of this API's messages).
$.components.messages[*]
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description