Tibber · API Governance Rules
Tibber API Rules
Spectral linting rules defining API design standards and conventions for Tibber.
6 Rules
error 4
warn 2
Rule Categories
tibber
Rules
error
tibber-operation-id-required
Every operation must declare an operationId in lowerCamelCase.
$.paths[*][get,post,put,delete,patch]
warn
tibber-operation-summary-title-case
Operation summaries should use Title Case sentence style.
$.paths[*][get,post,put,delete,patch].summary
error
tibber-tag-required
Every operation must be tagged so the docs site can group it.
$.paths[*][get,post,put,delete,patch]
error
tibber-bearer-or-oauth
Every spec must declare bearer or OAuth 2.0 as a security scheme.
$.components.securitySchemes
error
tibber-server-https
Server URLs must be HTTPS.
$.servers[*].url
warn
tibber-iso-currency-on-price
Price-shaped schemas must include a `currency` field.
$.components.schemas[?(@property == 'Price' || @property == 'TibberPrice')]