Deliveroo · API Governance Rules
Deliveroo API Rules
Spectral linting rules defining API design standards and conventions for Deliveroo.
6 Rules
warn 6
Rule Categories
channel
message
no
operation
Rules
warn
channel-key-casing
Channel names should be kebab-case (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 IDs should be camelCase (the dominant convention in this API).
$.channels[*][publish,subscribe].operationId
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