andrewsomething / spectral-rules

Collecting examples of Spectral rulesets and functions in the wild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extending Spectral

Spectral is a JSON/YAML linter, with out of the box support for OpenAPI v2/v3 and AsyncAPI v2. It is becoming increasingly popular as a tool for defining API style guides that can be used in reviews and automation. It is very extensible, allowing users to both create custom rulesets using builtin functions and write custom rules in JavaScript. This repository is collecting examples of Spectral rulesets and functions in the wild.

Stoplight Spectral Documentation

Custom Rulesets and Functions

Blog Posts

Talks

About

Collecting examples of Spectral rulesets and functions in the wild