apIAddicts · API Governance Rules
apIAddicts API Rules
Spectral linting rules defining API design standards and conventions for apIAddicts.
12 Rules
error 2
warn 8
info 2
Published by apIAddicts
Served by the provider at https://github.com/apiaddicts/asyncapi-spectral-rules/blob/fa725d1e61717a5ba2eb14851cce051088a37191/.spectralrc.yaml; the copy below was fetched from there.
Rule Categories
aar001
aar008
aar009
aar010
aar011
aar012
aar015
aar018
aar021
aar024
aar029
aar031
Rules
error
aar001-mandatory-https-protocol
Servers should use secure protocols (https, wss, amqps, etc.)
$.servers[*]
error
aar008-defined-server
Servers must be defined in the AsyncAPI specification
$
warn
aar018-security-schemas
Security schemes should be defined for authentication
$
warn
aar009-declared-tag
Operations should declare tags for categorization
$.operations[*]
info
aar010-documented-tag
Tags should have descriptions
$.tags[*]
warn
aar011-defined-license
License information should be provided
$.info
warn
aar012-declared-operation-id
Operations should declare unique operationId
$.operations[*]
warn
aar015-undefined-contact
Contact information should be provided
$.info
warn
aar021-provide-operation-summary
Operations should provide a summary
$.operations[*]
warn
aar024-message-validation
Message payloads should have schema validation
$.channels[*].messages[*]
warn
aar029-mandatory-description
Message payloads should be described
$.channels[*].messages[*]
info
aar031-message-examples
Messages should include examples
$.channels[*].messages[*]
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.