SPIFFE · API Governance Rules
SPIFFE API Rules
Spectral linting rules defining API design standards and conventions for SPIFFE.
7 Rules
error 4
warn 3
Rule Categories
spiffe
Rules
warn
spiffe-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spiffe-tags-title-case
All tags must use Title Case
$.tags[*].name
error
spiffe-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
spiffe-spiffe-path-versioned
SPIFFE endpoints must use the /spiffe/v1/ prefix
$.paths[*]~
error
spiffe-response-content-type
SPIFFE endpoints must return application/json
$.paths[*].get.responses.200.content
error
spiffe-trust-bundle-schema
Trust bundle response must include required SPIFFE fields
$.components.schemas.TrustBundle.required
warn
spiffe-no-auth-on-bundle-endpoint
SPIFFE bundle endpoint must be publicly accessible (no auth)
$.paths./spiffe/v1/bundle.get