← 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.16.3

What's Changed - fix(repo): fix ruleset test by @micryc in #3016 - chore(deps): bump ws dependency from 8.17.1 to 8.21.1 by @micryc in #3013 - chore(deps): bump patch-package to solve security issue by @micryc in #3014 - chore(deps): add lodash to reolutions by @micryc in #3015 - fix(rulesets): duplicated-entry-in-enum - support null values by @DougEdey-Slice in #2960 - chore(deps): upgrade TypeScript 4.4.4 → 4.7.4 by @kopernic-pl in #3020 - chore(deps): bump sigstore from 4.1.0 to 4.1.1 by @dependabot[bot] in #2994 - chore: pin @asyncapi/specs to 6.11.1 by @Patrycja-dz in #3022 - fix: trigger release action by @Patrycja-dz in #3026 - chore(repo): extend Node.js versions for testing matrix by @kopernic-pl in #3023 - fix: format md file by @Patrycja-dz in #3027 - chore(repo): added a new badge release by @Olexandr88 in #2807 New Contributors - @DougEdey-Slice made their first contribution in #2960 - @kopernic-pl made their first contribution in #3020 - @Patrycja-dz made their first contribution in #3022 - @Olexandr88 made their first contribution in #2807 Full Changelog: v6.16.2...v6.16.3

Read release notes

Version history

Version Updated Notes
6.16.3 Unknown What's Changed - fix(repo): fix ruleset test by @micryc in #3016 - chore(deps): bump ws dependency from 8.17.1 to 8.21.1 by @micryc in #3013 - chore(deps): bump patch-package to solve security issue by @micryc in #3014 -...
6.16.2 Unknown What's Changed - chore: added scarf telemetry to core by @tekyu in #2979 - fix: added scarf to rulesets by @tekyu in #2981 - fix: added scarf to formats by @tekyu in #2982 - fix: added scarf to functions by @tekyu in #29...
6.16.1 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[bot] in #2782 - fix(repo): replace discord link with forum link by @frankkilcommin...
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...