Telefoon · API Governance Rules
Telefoon API Rules
Spectral linting rules defining API design standards and conventions for Telefoon.
9 Rules
error 3
warn 5
info 1
Rule Categories
telefoon
Rules
warn
telefoon-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
telefoon-operation-must-have-operationid
All operations must have an operationId
$.paths[*][*]
warn
telefoon-operationid-camelcase
Operation IDs must use camelCase
$.paths[*][*].operationId
info
telefoon-operation-must-have-description
All operations should have a description
$.paths[*][*]
warn
telefoon-operation-must-have-tag
All operations must have at least one tag
$.paths[*][*]
error
telefoon-response-200-required
GET operations must define a 200 response
$.paths[*].get.responses
warn
telefoon-delete-204-response
DELETE operations should return 204
$.paths[*].delete.responses
warn
telefoon-eu-server-required
API server must use EU data center domain
$.servers[*].url
error
telefoon-servers-required
API must define servers
$