BitGo · API Governance Rules

BitGo — bitgojs rules

Spectral linting rules defining API design standards and conventions for BitGo.

22 Rules error 22
Published by BitGo Served by the provider at https://github.com/BitGo/BitGoJS/blob/25f9537315a45269f8d82d21d2fc6208f19c3fd7/modules/express/ruleset.yaml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

duplicated no oas oas2 oas3 operation path

Rules

error
duplicated-entry-in-enum
Enum values can't be the same.
$
error
no-$ref-siblings
$ref values can't be next to other properties.
$
error
no-ambiguous-paths
Paths must resolve unambiguously from one another. For example, /{id}/ambiguous and /ambiguous/{id} are the same thing.
$
error
no-eval-in-markdown
Markdown descriptions can't have `eval()` statements'. Malicious actors can use these to embed code in contracts, executing when a browser reads it.
$
error
no-script-tags-in-markdown
Markdown descriptions can't have `

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.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/bitgo-bitgojs-spectral-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.