Stoplight Spectral
Spectral is an open-source JSON and YAML linter for creating automated API style guides and governance rulesets. Provides built-in support for OpenAPI v3.1, v3.0, and v2.0, Arazzo v1.0, and AsyncAPI v2.x. Enables teams to validate API descriptions against custom rulesets, enforce consistent design standards, and integrate API governance into CI/CD pipelines. Supports custom functions and third-party ruleset packages via npm. SmartBear has integrated Spectral into SwaggerHub for API design and governance. The spectral repository has approximately 3,115 stars.
Documentation
SDKs
Other Resources
NPM
https://www.npmjs.com/package/@stoplight/spectral-cli
Docker
https://hub.docker.com/r/stoplight/spectral
GitHubAction
https://github.com/stoplightio/spectral-action
VSCodeExtension
https://github.com/stoplightio/vscode-spectral
Rulesets
https://github.com/stoplightio/spectral-rulesets
OWASPRuleset
https://github.com/stoplightio/spectral-owasp-ruleset
DocumentationRuleset
https://github.com/stoplightio/spectral-documentation