Spinnaker · API Governance Rules
Spinnaker API Rules
Spectral linting rules defining API design standards and conventions for Spinnaker.
8 Rules
error 2
warn 5
info 1
Rule Categories
spinnaker
Rules
warn
spinnaker-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spinnaker-tags-title-case
All tags must use Title Case
$.tags[*].name
error
spinnaker-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
spinnaker-operation-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
spinnaker-operation-description
All operations should have a description
$.paths[*][get,post,put,patch,delete]
info
spinnaker-application-path-structure
Application-scoped paths must include {application} parameter
$.paths./applications/{application}[*]~
warn
spinnaker-get-response-schema
GET operations must define response schemas
$.paths[*].get.responses.200
warn
spinnaker-security-defined
API should have security schemes defined
$.components.securitySchemes