Tamara · API Governance Rules
Tamara API Rules
Spectral linting rules defining API design standards and conventions for Tamara.
6 Rules
warn 6
Rule Categories
tamara
Rules
warn
tamara-info-contact
All Tamara OpenAPI specs must include an info.contact block pointing to https://docs.tamara.co/.
$.info
warn
tamara-servers-include-production
Tamara specs must declare https://api.tamara.co (or https://partner-api.tamara.co for Channel Partners) as a server.
$.servers
warn
tamara-bearer-auth
Tamara endpoints must use bearer auth (the merchant or partner API token).
$.components.securitySchemes[*]
warn
tamara-currency-enum
Money objects must restrict currency to Tamara's supported GCC currencies (SAR, AED, BHD, KWD, OMR).
$..properties.currency
warn
tamara-operation-summary-title-case
OpenAPI operation summaries must be Title Case.
$.paths[*][get,post,put,patch,delete].summary
warn
tamara-operation-id-camelcase
operationId values should be camelCase.
$.paths[*][get,post,put,patch,delete].operationId