TECO Energy · API Governance Rules
TECO Energy API Rules
Spectral linting rules defining API design standards and conventions for TECO Energy.
10 Rules
error 4
warn 5
Rule Categories
teco
Rules
warn
teco-energy-operation-ids-camel-case
Operation IDs must use camelCase naming convention.
$.paths[*][*].operationId
warn
teco-energy-bearer-auth-required
All non-public endpoints must use bearer authentication.
$.paths[*][*]
error
teco-energy-responses-have-descriptions
All responses must have descriptions.
$.paths[*][*].responses[*]
warn
teco-energy-operations-have-tags
All operations must be tagged.
$.paths[*][*]
error
teco-energy-operations-have-summaries
All operations must have a summary.
$.paths[*][*]
warn
teco-energy-title-case-summaries
Operation summaries must use Title Case.
$.paths[*][*].summary
hint
teco-energy-account-number-in-path
Account-scoped operations must use accountNumber path parameter.
$.paths['/accounts/{accountNumber}'][*].parameters[*]
error
teco-energy-servers-defined
API must define at least one server.
$
warn
teco-energy-components-schemas
API must define reusable schemas in components.
$.components
error
teco-energy-security-schemes-defined
API must define security schemes.
$.components