Octopus Energy · API Governance Rules
Octopus Energy API Rules
Spectral linting rules defining API design standards and conventions for Octopus Energy.
4 Rules
error 1
warn 2
info 1
Rule Categories
octopus
Rules
warn
octopus-trailing-slash-path
Octopus Energy Public API paths end with a trailing slash.
$.paths.*~
warn
octopus-title-case-summaries
Operation summaries use Title Case.
$.paths.*.*.summary
error
octopus-https-only-server
Server URLs must be HTTPS.
$.servers.*.url
info
octopus-basic-auth-security
Basic auth is the documented authentication scheme.
$.components.securitySchemes.basicAuth.scheme