SPAN · API Governance Rules
SPAN API Rules
Spectral linting rules defining API design standards and conventions for SPAN.
5 Rules
error 1
warn 4
Rule Categories
span
Rules
warn
span-paths-versioned
All SPAN REST paths must begin with /api/v1/.
$.paths
warn
span-paths-kebab-case
SPAN path segments use kebab-case (lowercase with hyphens).
$.paths
error
span-bearer-security
SPAN OpenAPI must declare HTTPBearer security scheme.
$.components.securitySchemes
warn
span-operation-summary
SPAN operations must have a summary.
$.paths.*[get,post,put,delete,patch]
warn
span-json-only
SPAN responses are application/json.
$.paths.*[get,post,put,delete,patch].responses.*.content