Meilisearch · API Governance Rules

Meilisearch — meilisearch rules

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

0 Rules
Published by Meilisearch Served by the provider at https://github.com/meilisearch/meilisearch/blob/9d3365c81607e17ec9df1473f97d5dc9109bb1c4/crates/openapi-generator/.spectral.yaml; the copy below was fetched from there.
View Rules File View on GitHub

Spectral Ruleset

Raw ↑
# harvested from https://github.com/meilisearch/meilisearch/blob/9d3365c81607e17ec9df1473f97d5dc9109bb1c4/crates/openapi-generator/.spectral.yaml on 2026-10-09 — a Spectral ruleset published in the provider's own GitHub repository (meilisearch/meilisearch); found by GitHub code search, fetched verbatim
x-method: harvested
x-stamped: 2026-10-09
x-source-url: https://github.com/meilisearch/meilisearch/blob/9d3365c81607e17ec9df1473f97d5dc9109bb1c4/crates/openapi-generator/.spectral.yaml
extends: ["spectral:oas"]

rules:
  # Disable the security scopes warning
  # Meilisearch uses Bearer authentication with API key permissions that work like scopes,
  # but OpenAPI 3.0 doesn't support scopes with HTTP Bearer authentication (only OAuth2).
  # The security annotations document required permissions but are not OAuth2 scopes.
  oas3-operation-security-defined: off
  # Some components are generated by utoipa but not referenced in paths (e.g. inlined in generics).
  oas3-unused-component: off
  # Workaround for a nimma (Spectral's JSONPath engine) bug that crashes with
  # "Cannot read properties of null (reading 'enum')" when traversing our spec.
  # The rule's JSONPath ($..[?(@.enum && @.enum.constructor.name === 'Array')])
  # is evaluated against every node including `null` values present in our many
  # response examples (e.g. `"indexUid": null`, `"progress": null`), and nimma
  # does not guard against `@` being null before reading `@.enum`. Since utoipa
  # cannot produce duplicate enum entries from Rust enums anyway, disabling this
  # rule is safe.
  duplicated-entry-in-enum: off

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/meilisearch-meilisearch-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.