Telstra · API Governance Rules
Telstra API Rules
Spectral linting rules defining API design standards and conventions for Telstra.
5 Rules
error 2
warn 3
Rule Categories
telstra
Rules
warn
telstra-operation-summary-title-case
Operation summaries should be in Title Case and prefixed with "Telstra ".
$.paths.*[get,post,put,delete,patch].summary
error
telstra-bearer-or-oauth-only
Every operation must use OAuth2ClientCredentials with the NSMS or MNV scope, except the token endpoint.
$.paths[?(@property != '/oauth/token')]..security[*]
warn
telstra-error-response-shape
4xx and 5xx responses should reference the canonical ErrorResponse schema.
$.paths.*.*.responses.[4??,5??].content.application/json.schema
error
telstra-host-must-be-tapi
Server URL must use tapi.telstra.com.
$.servers[*].url
warn
telstra-info-contact
Spec must include Telstra Developer support contact.
$.info.contact