Clearview AI · API Governance Rules
Clearview AI API Rules
Spectral linting rules defining API design standards and conventions for Clearview AI.
8 Rules
error 4
warn 4
Rule Categories
clearview
Rules
error
clearview-info-contact
API contact information must be present.
$.info
warn
clearview-info-license
API license must be declared.
$.info
error
clearview-server-https
All server URLs must use HTTPS.
$.servers[*].url
error
clearview-security-required
A security scheme must be defined.
$.components.securitySchemes
warn
clearview-operation-tags
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
clearview-operation-summary
Every operation must include a short summary.
$.paths[*][get,post,put,patch,delete]
error
clearview-operation-id
Every operation must declare a unique operationId.
$.paths[*][get,post,put,patch,delete]
warn
clearview-error-responses
Mutating operations should declare 4xx error responses.
$.paths[*][post,put,patch,delete].responses