SPX Graphics · API Governance Rules
SPX Graphics API Rules
Spectral linting rules defining API design standards and conventions for SPX Graphics.
8 Rules
error 2
warn 6
Rule Categories
spx
Rules
warn
spx-operation-id-verb-noun
Operation IDs should follow verbNoun camelCase convention
$.paths[*][*].operationId
error
spx-paths-versioned
All SPX API paths must be under /api/v1
$.paths
warn
spx-operation-summary-required
All operations should have a summary
$.paths[*][*]
warn
spx-operation-tags-required
All operations should have at least one tag
$.paths[*][*]
warn
spx-apikey-parameter-name
The API key query parameter must be named 'apikey'
$.paths[*][*].parameters[*]
error
spx-success-response-required
Operations must define a 200 success response
$.paths[*][*].responses
warn
spx-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
spx-post-content-type
POST operations must define a request body content type
$.paths[*].post