Commvault · API Governance Rules
Commvault API Rules
Spectral linting rules defining API design standards and conventions for Commvault.
10 Rules
error 4
warn 5
info 1
Rule Categories
commvault
Rules
error
commvault-info-contact
API contact information must be present.
$.info
warn
commvault-info-terms
API terms of service must be declared.
$.info
error
commvault-server-https
All server URLs must use HTTPS.
$.servers[*].url
warn
commvault-server-webconsole
Server URLs should resolve to a Commvault Web Server endpoint.
$.servers[*].url
error
commvault-authtoken-security
An Authtoken QSDK security scheme must be defined.
$.components.securitySchemes
warn
commvault-operation-tags
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
commvault-operation-summary
Every operation must include a short summary.
$.paths[*][get,post,put,patch,delete]
error
commvault-operation-id
Every operation must declare a unique operationId.
$.paths[*][get,post,put,patch,delete]
warn
commvault-error-responses
Mutating operations should declare 4xx error responses.
$.paths[*][post,put,patch,delete].responses
info
commvault-job-resources
Backup, restore, and reporting paths should expose job resources.
$.paths