SP

Spectral

Flexible JSON and YAML linter for OpenAPI and more

Developer Tools & Git ★ 3.2k stars Easy setup Apache-2.0

Spectral is an open-source linter for structured documents such as OpenAPI and AsyncAPI specifications, enforcing custom rulesets for API quality. It runs locally as a CLI or library.

Key features

  • OpenAPI and AsyncAPI linting
  • Custom rulesets
  • CI integration
  • JSON and YAML support

Strengths

  • Released under the Apache-2.0 license
  • Easy to set up — beginner-friendly
  • Active community (3.2k GitHub stars)
  • Written in TypeScript

Is Spectral secure?

OSV.dev has no published security advisories for Spectral's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

Source: OSV.dev, checked 2026-10-14. How this is measured.

Spectral replaces

Health badge

Maintain Spectral? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 88 · excellent

Markdown
[![SelfHostIndex health score for Spectral](https://selfhostindex.com/badge/spectral.svg)](https://selfhostindex.com/app/spectral/)
HTML
<a href="https://selfhostindex.com/app/spectral/"><img src="https://selfhostindex.com/badge/spectral.svg" alt="SelfHostIndex health score for Spectral"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/spectral.svg
   :alt: SelfHostIndex health score for Spectral
   :target: https://selfhostindex.com/app/spectral/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Similar developer tools & git apps