Stacker · API Governance Rules
Stacker API Rules
Spectral linting rules defining API design standards and conventions for Stacker.
7 Rules
error 3
warn 4
Rule Categories
stacker
Rules
error
stacker-operation-ids
All operations must have an operationId in camelCase
$.paths[*][*]
error
stacker-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
stacker-trailing-slash
All Stacker API paths end with a trailing slash
$.paths[*]~
warn
stacker-header-auth
Operations must use IntegrationKey security scheme
$.paths[*][*]
error
stacker-response-200-or-201
All operations must have a 200 or 201 success response
$.paths[*][*].responses
warn
stacker-object-sid-path-param
Paths using object SID must name the parameter object_sid
$.paths[*][*].parameters[?(@.in=='path')]
warn
stacker-content-type-json
Request bodies must use application/json
$.paths[*][*].requestBody.content
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/stacker-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.