The Cat API · API Governance Rules
The Cat API API Rules
Spectral linting rules defining API design standards and conventions for The Cat API.
10 Rules
error 3
warn 7
Rule Categories
catapi
Rules
warn
catapi-operations-must-have-tags
All Cat API operations must be tagged (Images, Breeds, Favourites, Votes, Categories).
$.paths[*][*]
warn
catapi-operations-must-have-summary
All operations must have a summary in Title Case.
$.paths[*][*]
error
catapi-operations-must-have-operationid
All operations must define an operationId for SDK generation.
$.paths[*][*]
error
catapi-responses-must-include-200
All read operations must define a 200 success response.
$.paths[*][get].responses
warn
catapi-responses-must-include-401
All write operations should document a 401 Unauthorized response.
$.paths[*][post].responses
warn
catapi-parameters-must-have-descriptions
All path and query parameters must have descriptions.
$.paths[*][*].parameters[*]
warn
catapi-collection-paths-use-plural-nouns
Collection paths must use plural nouns (e.g., /images, /breeds, /votes, /favourites).
$.paths
warn
catapi-path-parameters-use-snake-case
Path parameter names must use snake_case.
$.paths[*][*].parameters[?(@.in == 'path')]
warn
catapi-responses-define-content-type
All 200 responses should define a content type.
$.paths[*][get].responses.200
error
catapi-info-must-have-version
The API info object must include a version.
$.info
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/the-cat-api-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.