Altruistiq · API Governance Rules
Altruistiq API Rules
Spectral linting rules defining API design standards and conventions for Altruistiq.
6 Rules
warn 6
Rule Categories
altruistiq
Rules
warn
altruistiq-info-contact
Info object must include a contact.
$.info
warn
altruistiq-operation-summary-title-case
Operation summaries should use Title Case (Altruistiq style).
$.paths[*][get,post,put,patch,delete].summary
warn
altruistiq-paths-snake-or-kebab
Path segments must use lowercase with kebab-case (no snake_case, no camelCase).
$.paths
warn
altruistiq-uses-public-v1-prefix
All operations must live under the /api/public/v1 prefix.
$.paths
warn
altruistiq-oauth2-security
API should advertise OAuth 2.0 Client Credentials security.
$.components.securitySchemes
warn
altruistiq-tag-defined
Every operation must declare at least one tag.
$.paths[*][get,post,put,patch,delete]