DataHub · API Governance Rules
DataHub API Rules
Spectral linting rules defining API design standards and conventions for DataHub.
5 Rules
warn 4
info 1
Rule Categories
no
operation
payload
security
server
Rules
warn
server-security-defined
Servers should declare their security requirements.
$.servers[*]
warn
security-schemes-defined
Security schemes should be defined in components.
$.components
info
payload-property-casing
Message payload properties should be camelCase (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