Apache RocketMQ · API Governance Rules
Apache RocketMQ API Rules
Spectral linting rules defining API design standards and conventions for Apache RocketMQ.
12 Rules
error 5
warn 6
info 1
Rule Categories
apache
no
operationid
schema
servers
Rules
error
apache-rocketmq-info-title-required
Info object must have a title
$.info
error
apache-rocketmq-operation-summary-required
All operations must have a summary
$.paths[*][*]
error
apache-rocketmq-operation-operationId-required
All operations must have an operationId
$.paths[*][*]
warn
apache-rocketmq-operation-tags-required
All operations must have tags
$.paths[*][*]
warn
apache-rocketmq-operation-summary-apache-prefix
Operation summaries should be prefixed with Apache RocketMQ
$.paths[*][*].summary
error
apache-rocketmq-response-success-required
All operations must have a success response
$.paths[*][*].responses
error
servers-https-only
Server URLs must use HTTPS.
$.servers[*].url
warn
servers-expected-domain
Server URLs should be on the example.com domain.
$.servers[*].url
warn
operationid-casing
Operation IDs should be camelCase (the dominant convention in this API).
$.paths[*][get,post,put,patch,delete].operationId
warn
schema-names-casing
Component schema names should be PascalCase (the dominant convention in this API).
$.components.schemas
info
schema-properties-casing
Schema properties should be camelCase (the dominant convention in this API).
$.components.schemas[*].properties
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description