Hyperbolic · API Governance Rules
Hyperbolic API Rules
Spectral linting rules defining API design standards and conventions for Hyperbolic.
9 Rules
error 2
warn 7
Rule Categories
hyperbolic
Rules
warn
hyperbolic-info-contact-email
Hyperbolic OpenAPI specs must include a contact email.
$.info.contact
error
hyperbolic-server-base-url
Hyperbolic API servers must use https://api.hyperbolic.xyz/v1 as the base URL.
$.servers[*].url
error
hyperbolic-bearer-security
Hyperbolic endpoints must declare Bearer-token security.
$.components.securitySchemes
warn
hyperbolic-operation-summary-title-case
Operation summaries must start with "Hyperbolic" and use Title Case.
$.paths[*][*].summary
warn
hyperbolic-operation-id-camel-case
operationId must be camelCase.
$.paths[*][*].operationId
warn
hyperbolic-error-response-401
Every operation should declare a 401 response.
$.paths[*][*].responses
warn
hyperbolic-error-response-429
Every operation should declare a 429 response since the platform enforces RPM caps.
$.paths[*][*].responses
warn
hyperbolic-tag-defined
Each operation must declare at least one tag.
$.paths[*][*]
warn
hyperbolic-license-required
info.license must reference the Hyperbolic Terms of Use.
$.info.license