Telefon · API Governance Rules
Telefon API Rules
Spectral linting rules defining API design standards and conventions for Telefon.
9 Rules
error 3
warn 4
info 2
Rule Categories
telefon
Rules
warn
telefon-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
error
telefon-operation-must-have-operationid
All operations must have an operationId
$.paths[*][*]
warn
telefon-operationid-camelcase
Operation IDs must use camelCase
$.paths[*][*].operationId
info
telefon-operation-must-have-description
All operations should have a description
$.paths[*][*]
warn
telefon-operation-must-have-tag
All operations must have at least one tag
$.paths[*][*]
error
telefon-response-200-required
GET operations must define a 200 response
$.paths[*].get.responses
warn
telefon-delete-204-response
DELETE operations should return 204
$.paths[*].delete.responses
info
telefon-schema-properties-have-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]
error
telefon-servers-required
API must define servers
$