S&P Global · API Governance Rules
S&P Global API Rules
Spectral linting rules defining API design standards and conventions for S&P Global.
7 Rules
error 3
warn 4
Rule Categories
sandp
Rules
error
sandp-global-bearer-auth-required
All S&P Global API endpoints must use Bearer token authentication
$.paths[*][*]
error
sandp-global-https-only
All S&P Global API servers must use HTTPS
$.servers[*]
warn
sandp-global-response-200-defined
All S&P Global operations should define a 200 response
$.paths[*][*].responses
error
sandp-global-operation-ids-required
All operations must have operationId for SDK generation
$.paths[*][*]
warn
sandp-global-tags-required
All operations must have tags for grouping in developer portal
$.paths[*][*]
warn
sandp-global-description-required
All operations and parameters must have descriptions
$.paths[*][*]
warn
sandp-global-json-content-type
S&P Global APIs use application/json content type
$.paths[*][*].requestBody.content