Tango · API Governance Rules
Tango API Rules
Spectral linting rules defining API design standards and conventions for Tango.
10 Rules
error 1
warn 8
Rule Categories
tango
Rules
warn
tango-operation-ids-camel-case
All operationIds must use camelCase
$.paths[*][*].operationId
warn
tango-paths-kebab-case
All path segments must use kebab-case or be a path parameter
$.paths[*]~
warn
tango-responses-have-content-type
2xx responses must define a content type
$.paths[*][*].responses[?(@property >= 200 && @property < 300)]
warn
tango-parameters-have-descriptions
All parameters must have descriptions
$.paths[*][*].parameters[*]
warn
tango-schemas-have-descriptions
All schema components must have descriptions
$.components.schemas[*]
error
tango-auth-required
All operations must declare security requirements
$.paths[*][*]
warn
tango-operations-have-tags
All operations must have at least one tag
$.paths[*][*]
hint
tango-response-schema-refs
Response schemas should use $ref to reusable components
$.paths[*][*].responses[*].content[*].schema
warn
tango-customer-identifier-path-param
Customer identifier path parameters must be named customerIdentifier
$.paths[*][*].parameters[?(@.in === 'path' && @.name === 'customerId')]
warn
tango-delete-returns-204
DELETE operations should return 204 No Content
$.paths[*].delete.responses
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/tango-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.