JSON/YAML linter with OpenAPI and AsyncAPI schema validation
JSON/YAML linter and support OpenAPI v3.1/v3.0/v2.0, and AsyncAPI v2.x
spectral$ spectral lint api.yaml$ spectral lint --ruleset .spectral.yaml openapi.json$ spectral lint asyncapi.yaml --ruleset asyncapi