BetterCloud · API Governance Rules

BetterCloud — bettercloud openapi rules rules

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

0 Rules
Published by BetterCloud Served by the provider at https://github.com/BetterCloud/bettercloud-openapi-rules/blob/1fa6df2beb0230a5f63ef7bcf2fc9b35eee0d633/.spectral.yml; the copy below was fetched from there.
View Rules File View on GitHub

Spectral Ruleset

Raw ↑
# harvested from https://github.com/BetterCloud/bettercloud-openapi-rules/blob/1fa6df2beb0230a5f63ef7bcf2fc9b35eee0d633/.spectral.yml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (BetterCloud/bettercloud-openapi-rules); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/BetterCloud/bettercloud-openapi-rules/blob/1fa6df2beb0230a5f63ef7bcf2fc9b35eee0d633/.spectral.yml
extends:
  - spectral:oas
  - https://unpkg.com/@stoplight/spectral-owasp-ruleset@1.4.0/dist/ruleset.js
  - https://raw.githubusercontent.com/BetterCloud/spectral-redos-detector-ruleset/main/dist/ruleset.js
  - ./spectral/ruleset.yml

functionsDir: ./spectral/functions

functions:
  - ensurePropertiesExample
  - ensureAllArraysHaveItemTypes
  - ensureSnakeCaseWithDigits
  - validateOperationIdNaming
  - ensureCommonHttpMethods
  - ensure4xxAnd5xxUseErrorBody
  - ensureISOFormat
  - ensureCommonHttpCodes
  - ensureMeaningfulParameterNames
  - ensureParametersUseRef
  - ensureWrappedResponses
rules:
  contact-properties: off
  operation-singular-tag: off
  owasp:api2:2019-jwt-best-practices: off # Cannot read `type` of null, seems to not handle securityScheme $ref
  owasp:api4:2019-string-restricted: warn
  owasp:api4:2019-rate-limit-retry-after: warn # don't break the build until we have adopted the real rate limiter
  owasp:api4:2019-string-limit: warn # don't break the build but warn so that best judgement can be used
  owasp:api2:2019-no-credentials-in-url: warn # its picking up pageToken as a credential

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/bettercloud-bettercloud-openapi-rules-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.