stoplightio/spectral

stoplightio/spectral

Releases390
Frequency1 week 3 hours
Last Release
Stars3.12K
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.

Linked projects

This project serves as a converter between the legacy ruleset format and a new one. It's used internally, albeit it can be used externally too, also in browsers.
This package provides Spectral-compatible bindings for [@stoplight/json-ref-resolver](https://github.com/stoplightio/json-ref-resolver) and [@stoplight/json-ref-readers](https://github.com/stoplightio/json-ref-readers).
- **plugins** - any other Rollup.js plugin, i.e. a minifier. - **target**: - `node` - a preset suitable for the Node.js runtime - `browser` - a preset tailored to Browsers - `runtime` - a preset you want to use if you want to bundle & execute the ru