A flexible JSON/YAML linter for creating automated style guides, with baked in support for OpenAPI (v3.1, v3.0, and v2.0), Arazzo v1.0, as well as AsyncAPI v2.x.
TypeScript
3057
283
Apache License 2.0
Spectral is a flexible JSON/YAML linter for creating automated style guides, with built-in support for OpenAPI, Arazzo, and AsyncAPI. It's designed for API developers and teams who want to enforce consistent API design patterns and validate their API specifications against custom or predefined rulesets.
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run