Gorgias · API Governance Rules
Gorgias API Rules
Spectral linting rules defining API design standards and conventions for Gorgias.
5 Rules
error 1
warn 4
Rule Categories
channel
no
operation
payload
server
Rules
error
server-secure-protocol
Servers should use a secure protocol (this API's convention).
$.servers[*].protocol
warn
channel-key-casing
Channel names should be kebab-case (the dominant convention in this API).
$.channels
warn
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