Spanning · API Governance Rules
Spanning API Rules
Spectral linting rules defining API design standards and conventions for Spanning.
8 Rules
error 1
warn 5
info 2
Rule Categories
spanning
Rules
warn
spanning-operation-summary-title-case
All operation summaries must use Title Case
$.paths[*][*].summary
warn
spanning-operation-id-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
warn
spanning-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
spanning-operations-require-security
All operations must specify security requirements
$.paths[*][*]
warn
spanning-response-must-have-description
All responses must have a description
$.paths[*][*].responses[*]
info
spanning-schema-properties-have-descriptions
Schema properties should have descriptions
$.components.schemas[*].properties[*]
error
spanning-servers-must-be-https
All server URLs must use HTTPS
$.servers[*].url
info
spanning-security-scheme-is-api-key
Spanning APIs use API key authentication
$.components.securitySchemes[*]
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/spanning-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.