Thermal Power · API Governance Rules
Thermal Power API Rules
Spectral linting rules defining API design standards and conventions for Thermal Power.
8 Rules
error 3
warn 4
info 1
Rule Categories
thermal
Rules
warn
thermal-power-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
thermal-power-operation-ids-camel-case
All operationIds must use camelCase.
$.paths[*][*].operationId
error
thermal-power-api-key-required
All operations must require api_key query parameter.
$.paths[*][get,post].parameters[?(@.name == 'api_key')]
warn
thermal-power-pagination-params
All list operations should support offset and length pagination.
$.paths[*][get]
error
thermal-power-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
thermal-power-description-required
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
error
thermal-power-200-response-defined
All GET operations must define a 200 response.
$.paths[*][get].responses
info
thermal-power-path-data-suffix
EIA API data paths should end with /data.
$.paths[*]~