Temenos · API Governance Rules
Temenos API Rules
Spectral linting rules defining API design standards and conventions for Temenos.
14 Rules
error 2
warn 10
info 2
Rule Categories
temenos
Rules
error
temenos-security-bearer-required
All Temenos API operations must declare bearerAuth or oauth2 security
$.paths[*][get,post,put,patch,delete]
warn
temenos-operation-id-camel-case
OperationIds must use camelCase following Temenos convention
$.paths[*][get,post,put,patch,delete].operationId
warn
temenos-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
temenos-operation-tags-required
All operations must have at least one tag for grouping
$.paths[*][get,post,put,patch,delete]
warn
temenos-operation-description-required
All operations must have a description
$.paths[*][get,post,put,patch,delete]
info
temenos-get-list-pagination
GET operations returning arrays should support page_size and page_start pagination
$.paths[*].get
info
temenos-currency-iso-format
Currency fields should use ISO 4217 three-letter codes
$.components.schemas[*].properties.currency
warn
temenos-standard-error-responses
Operations should reference standard Temenos error responses
$.paths[*][get,post,put,patch,delete].responses
warn
temenos-get-single-404-response
GET operations for single resources should define 404 response
$.paths[*~'\{[a-zA-Z]+\}$'].get.responses
warn
temenos-path-kebab-case
Path segments must use kebab-case (lowercase with hyphens)
$.paths[*~'[A-Z_]']
error
temenos-server-url-required
API spec must define at least one server URL
$
warn
temenos-info-contact-required
API spec must include contact information
$.info
warn
temenos-info-license-required
API spec must include license information
$.info
warn
temenos-success-response-schema
Successful responses must include a response schema
$.paths[*][get,post,put,patch].responses[200,201].content.application/json