Healthie · API Governance Rules
Healthie API Rules
Spectral linting rules defining API design standards and conventions for Healthie.
5 Rules
error 1
warn 4
Rule Categories
message
no
server
Rules
error
server-secure-protocol
Servers should use a secure protocol (this API's convention).
$.servers[*].protocol
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