SOAX · API Governance Rules
SOAX API Rules
Spectral linting rules defining API design standards and conventions for SOAX.
9 Rules
error 4
warn 5
Rule Categories
soax
Rules
error
soax-api-key-auth
SOAX APIs use API key authentication
$.components.securitySchemes[*]
error
soax-tags-required
All SOAX API operations must have tags
$.paths.*.*
warn
soax-operation-id-camel-case
Operation IDs should use camelCase
$.paths.*.*.operationId
error
soax-path-versioned
All SOAX API paths must include a version prefix
$.paths
warn
soax-request-body-json
POST endpoints should accept JSON
$.paths.*.post.requestBody.content
error
soax-response-200-defined
All operations should define a 200/201 success response
$.paths.*.*
warn
soax-error-401-defined
Authenticated endpoints should define 401 response
$.paths.*.*
warn
soax-package-key-path-param
Package management paths should use package_key parameter
$.paths[*].parameters[?(@.in == 'path')].name
warn
soax-response-schema-defined
Responses should reference a schema
$.paths.*.*.responses.*.content.*.schema
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/soax-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.