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.
For support questions, please use the Stoplight Discord Community. This repository's issues are reserved for feature requests and bug reports. If you are unsure if you are experiencing a bug, our Discord is a great place to start.
Please delete this section, any any sections below that you don't use, before creating the issue.
Describe the bug
Unable to lint files using Spectral 5.6.0 and Latest 6.x version. Getting Error
To Reproduce
Given this OpenAPI/AsyncAPI document 'petstore.yaml'
Run this CLI command 'spectral lint petstore.yaml'
Getting Error (Spectral version 5.6.0 and 6.6.0-
Found 82 rules (66 enabled)
No results with a severity of 'error' or higher found!
Expected behavior
Get a list of Error and Warnings for the YAML file.
Actual Behaviour -
Found 82 rules (66 enabled)
No results with a severity of 'error' or higher found!
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):
5.6.0 and 6.6.0
OS :Mac Pro
Additional context
Add any other context about the problem here.
Describe the bug Unable to lint files using Spectral 5.6.0 and Latest 6.x version. Getting Error
To Reproduce
Expected behavior Get a list of Error and Warnings for the YAML file.
Actual Behaviour - Found 82 rules (66 enabled) No results with a severity of 'error' or higher found!
Screenshots If applicable, add screenshots to help explain your problem.
Environment (remove any that are not applicable):
Additional context Add any other context about the problem here.