ModelFarebeta
Back to AI Toolkit

Spectral

Lint API definitions and configuration against reusable rules.

Tool

Testing & QA · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

Checking OpenAPI, AsyncAPI, and other JSON/YAML documents for team conventions in development or CI.

What to consider

Rules check documents, not a running API. The Docker image documents startup telemetry; DO_NOT_TRACK=1 or SCARF_NO_ANALYTICS=true opts out.

Getting started

Install the documented CLI or container, choose a ruleset, and lint a version-controlled API specification.

Access & costs

Runs
Local
External account
Not required
API key
Not required
Costs
Your hardware / hosting

Local linting needs no service key. CI runners and optional hosted tooling have separate infrastructure costs.

  • Supported Node.js runtime or Docker
  • API definition and ruleset

Repository evidence

Stars: 3,263 · License: Apache-2.0

Last code push: 2026-11-13

Statistics retrieved: 2026-11-23T06:39:00+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner