Cellulant · API Governance Rules
Cellulant API Rules
Spectral linting rules defining API design standards and conventions for Cellulant.
6 Rules
error 1
warn 4
Rule Categories
cellulant
Rules
warn
cellulant-operation-summary-title-case
Operation summaries must use Title Case and start with the Cellulant brand verb pattern.
$.paths.*.*.summary
warn
cellulant-operationid-camelcase
operationId must be lowerCamelCase.
$.paths.*.*.operationId
error
cellulant-https-only
All servers must use HTTPS.
$.servers[*].url
warn
cellulant-tingg-host
Production server URL must use the tingg.africa domain.
$.servers[*].url
warn
cellulant-error-schema
Every operation should reference a 4XX error response component.
$.paths.*[get,post,put,delete,patch].responses
hint
cellulant-currency-code-iso4217
currency_code fields should be 3-letter ISO 4217 codes.
$..[?(@property === 'currency_code' || @property === 'currencyCode')]^