← Package directory
Available on winget

Install Spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.

Install with winget
winget install --id Stoplight.Spectral
Upgrade
winget upgrade --id Stoplight.Spectral
Uninstall
winget uninstall --id Stoplight.Spectral

About Spectral

A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI v3.1, v3.0, and v2.0 as well as AsyncAPI v2.x.

What's new in 6.15.0

What's Changed - fix(deps): update dependencies by @mnaumanali94 in #2794 - chore(deps): bump elliptic from 6.6.0 to 6.6.1 by @dependabot in #2782 - fix(repo): replace discord link with forum link by @frankkilcommins in #2793 - docs(rulesets): add v3 to AsyncAPI support docs by @frankkilcommins in #2755 - docs(repo): fixing alias name by @dret in #2776 - feat(functions): add or function by @cuttingclyde and @frankkilcommins in #2798 - feat(core): add documentUrl to JS api and cli formatters by @dweber019 in #2443 New Contributors - @dret made their first contribution in #2776 Full Changelog: https://github.com/stoplightio/spectral/compare/v6.14.3...v6.15.0

Read release notes

Version history

Version Updated Notes
6.15.0 Unknown What's Changed - fix(deps): update dependencies by @mnaumanali94 in #2794 - chore(deps): bump elliptic from 6.6.0 to 6.6.1 by @dependabot in #2782 - fix(repo): replace discord link with forum link by @frankkilcommins in...
6.14.3 Unknown Release notes
6.14.2 Unknown What's Changed - fix(deps): fix CVE related to jsonpath-plus by @frankkilcommins in #2740 - fix(deps): bump spectral-core dependents by @frankkilcommins in #2742 Full Changelog: https://github.com/stoplightio/spectral/co...
6.14.1 Unknown Release notes
6.14.0 Unknown What's Changed - chore(repo): fix ci pipeline by @mnaumanali94 in #2706 - fix(rulesets): always allow string examples in asyncapi schema by @timonback in #2625 - chore(deps): bump rollup from 2.79.0 to 2.79.2 by @dependa...
6.13.1 Unknown What's Changed - chore(deps): bump tar from 6.1.15 to 6.2.1 by @dependabot in #2611 - feat(rulesets): add multiple xor by @JeanArhancet in #2614 - docs(rulesets): update docs about recommended OpenAPI rules by @ls-jad-el...
6.11.1 Unknown Release notes
6.11.0 Unknown Release notes
6.10.1 Unknown Release notes
6.10.0 Unknown Release notes
6.9.0 Unknown Release notes
6.7.0 Unknown Release notes
6.6.0 Unknown Release notes
6.5.1 Unknown - fix(rulesets): __importDefault undefined by @P0lip in #2243 - fix(functions): bump stoplight/better-ajv-errors by @P0lip in #2250 - feat(rulesets): check uniqueness of AsyncAPI messages by @magicmatatjahu in #2224 - fi...