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.
// description
// frequently asked questions
Open PowerShell or Command Prompt and run: winget install Stoplight.Spectral. Winget is built into Windows 10 (1809+) and Windows 11.
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.
Spectral is available under the Apache-2.0 license. Use winget or the direct download link on this page.
Run winget upgrade Stoplight.Spectral in PowerShell or Windows Terminal to update Spectral to the latest version.
Run winget uninstall Stoplight.Spectral in an elevated PowerShell window, or go to Settings > Apps > Installed Apps.