StackRox · API Governance Rules
StackRox API Rules
Spectral linting rules defining API design standards and conventions for StackRox.
6 Rules
error 4
warn 1
info 1
Rule Categories
stackrox
Rules
error
stackrox-operation-ids
All operations must have an operationId
$.paths[*][*]
error
stackrox-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
stackrox-v1-api-path
All StackRox API paths should begin with /v1/
$.paths[*]~
error
stackrox-api-token-auth
StackRox API should use ApiToken security scheme
$.components.securitySchemes
error
stackrox-successful-response
All operations must define at least one success response
$.paths[*][*].responses
info
stackrox-count-endpoint-naming
Count endpoints should follow the {resource}count naming convention
$.paths[?(/count/)][*]~