APIIDA · API Governance Rules

APIIDA API Rules

Spectral linting rules defining API design standards and conventions for APIIDA.

7 Rules error 4 warn 3
View Rules File View on GitHub

Rule Categories

info operation response servers

Rules

warn
info-title-prefix
API title must start with 'APIIDA'.
$.info
error
info-description-required
API must have a description.
$.info
error
servers-https
All server URLs must use HTTPS.
$.servers[*]
warn
operation-summary-prefix
Operation summaries must start with 'APIIDA'.
$.paths[*][get,post,put,patch,delete]
error
operation-id-required
Every operation must have an operationId.
$.paths[*][get,post,put,patch,delete]
warn
operation-tags-required
Every operation must have tags.
$.paths[*][get,post,put,patch,delete]
error
response-success-required
Every operation must have a 2xx response.
$.paths[*][get,post,put,patch,delete].responses