Stoplight · API Governance Rules

Stoplight — studiolab rules

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

1 Rules warn 1
Published by Stoplight Served by the provider at https://github.com/stoplightio/StudioLab/blob/9e28418090c9310fc445f174d948d76c86985739/.spectral.yaml; the copy below was fetched from there.
View Rules File View on GitHub

Rule Categories

info

Rules

warn
info-matches-stoplight
This is an example rule
$.info

Spectral Ruleset

Raw ↑
# harvested from https://github.com/stoplightio/StudioLab/blob/9e28418090c9310fc445f174d948d76c86985739/.spectral.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (stoplightio/StudioLab); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/stoplightio/StudioLab/blob/9e28418090c9310fc445f174d948d76c86985739/.spectral.yaml
formats: []
extends:
  - 'spectral:oas'
rules:
  info-matches-stoplight:
    description: This is an example rule
    message: Info must contain Stoplight
    given: $.info
    recommended: true
    type: style
    then:
      field: title
      function: pattern
      functionOptions:
        match: Stoplight

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/stoplight-studiolab-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.