WebSockets · API Governance Rules
WebSockets API Rules
Spectral linting rules defining API design standards and conventions for WebSockets.
4 Rules
warn 4
Rule Categories
message
no
operation
Rules
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-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