Cyclr · API Governance Rules
Cyclr API Rules
Spectral linting rules defining API design standards and conventions for Cyclr.
6 Rules
error 3
warn 3
Rule Categories
cyclr
Rules
warn
cyclr-info-contact
Cyclr API spec must declare a contact.
$.info
error
cyclr-server-https
Cyclr server URLs must use HTTPS.
$.servers[*].url
warn
cyclr-tags-required
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
error
cyclr-operation-id-required
Every operation must declare an operationId.
$.paths[*][get,post,put,patch,delete]
warn
cyclr-bearer-auth
Cyclr uses bearer-token authentication.
$.components.securitySchemes
error
cyclr-versioned-base-url
Cyclr base URL must include a version segment (/v1.0).
$.servers[*].url