StackOne · API Governance Rules
StackOne API Rules
Spectral linting rules defining API design standards and conventions for StackOne.
7 Rules
error 4
warn 3
Rule Categories
stackone
Rules
error
stackone-operation-ids
All operations must have an operationId
$.paths[*][*]
error
stackone-tags-required
All operations must have at least one tag
$.paths[*][*]
warn
stackone-unified-path-prefix
Unified API paths must start with /unified/{category}/
$.paths[?(/unified/)][*]~
error
stackone-v1-server
StackOne API server must be api.stackone.com
$.servers[*].url
warn
stackone-bearer-auth
Requests must use basic authentication
$.components.securitySchemes
error
stackone-successful-response
All operations must define at least one success response
$.paths[*][*].responses
warn
stackone-plural-collection-paths
Collection resource paths must use plural nouns
$.paths[*]~
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/stackone-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.