Spectral Rules

A Spectral ruleset that governs how an API's OpenAPI or AsyncAPI definition is linted — publishing it makes the provider's design and governance standards discoverable and lets consumers see the quality bar the API is held to.

Also known as: Spectral Rules, SpectralRuleset, Spectral Ruleset

Example

spectral-rules.yaml
- type: SpectralRules
  url: https://developers.example.com/.spectral.yaml
  mediaType: application/yaml

Tags


All Common Properties