Superhero API (akabab) · API Governance Rules
Superhero API (akabab) API Rules
Spectral linting rules defining API design standards and conventions for Superhero API (akabab).
9 Rules
error 6
warn 3
Rule Categories
superheroes
Rules
error
superheroes-operation-id-required
Every operation MUST have an operationId.
$.paths[*][get,post,put,patch,delete]
error
superheroes-operation-id-camelcase
operationId MUST be camelCase.
$.paths[*][get,post,put,patch,delete].operationId
warn
superheroes-operation-summary-title-case
Operation summaries SHOULD be Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
superheroes-get-only
The static API is read-only — only GET methods are allowed.
$.paths[*]
error
superheroes-json-extension-on-data-paths
Data endpoints MUST end in `.json` (static file convention).
$.paths
warn
superheroes-character-id-range
The CharacterId parameter MUST constrain id to 1..731.
$.components.parameters.CharacterId.schema
error
superheroes-image-size-enum
Image size path parameter MUST be one of xs, sm, md, lg.
$.paths['/images/{size}/{filename}'].get.parameters[?(@.name=='size')].schema
error
superheroes-license-required
The info.license block MUST be present (project is MIT-licensed).
$.info
warn
superheroes-servers-include-cdn
The servers array SHOULD include the jsDelivr CDN mirror.
$.servers[*].url
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/superheroes-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.