Cloud Storage and Data Acquisition · API Governance Rules
Cloud Storage and Data Acquisition API Rules
Spectral linting rules defining API design standards and conventions for Cloud Storage and Data Acquisition.
9 Rules
error 4
warn 4
info 1
Rule Categories
csda
Rules
error
csda-info-contact
API contact information must be present.
$.info
warn
csda-info-license
API license must be declared.
$.info
error
csda-server-https
All server URLs must use HTTPS.
$.servers[*].url
error
csda-security-required
A security scheme must be defined.
$.components.securitySchemes
warn
csda-operation-tags
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
csda-operation-summary
Every operation must include a short summary.
$.paths[*][get,post,put,patch,delete]
error
csda-operation-id
Every operation must declare a unique operationId.
$.paths[*][get,post,put,patch,delete]
warn
csda-error-responses
Mutating operations should declare 4xx error responses.
$.paths[*][post,put,patch,delete].responses
info
csda-pagination-tokens
List endpoints should support a continuation/page token.
$.paths[?(@property.match(/list$|jobs$|datasets$|buckets$|objects$/))].get.parameters[*].name