Dapr · API Governance Rules
Dapr API Rules
Spectral linting rules defining API design standards and conventions for Dapr.
4 Rules
warn 3
info 1
Rule Categories
channel
no
operation
payload
Rules
warn
channel-key-casing
Channel names should be snake_case (the dominant convention in this API).
$.channels
info
payload-property-casing
Message payload properties should be snake_case (the dominant convention in this API).
$.components.schemas[*].properties
warn
operation-id-casing
Operation IDs should be camelCase (the dominant convention in this API).
$.channels[*][publish,subscribe].operationId
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description