PartyKit · API Governance Rules
PartyKit API Rules
Spectral linting rules defining API design standards and conventions for PartyKit.
4 Rules
warn 4
Rule Categories
message
no
Rules
warn
message-name-casing
Message names should be PascalCase (the dominant convention in this API).
$.components.messages
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