Replies: 1 comment 3 replies
-
It sounds like you were on v5 and now you're on v6. I'd start with a look at the migration guide. https://meta.stoplight.io/docs/spectral/ZG9jOjg2MDIwMDM-spectral-v5-to-v6-migration-guide |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A while ago, I used to run the spectral-cli.exe lint command on windows successfully (e.g. spectral-cli.exe lint swagger2model.json). I hadn't used it for a while, and so just downloaded the latest.
Now, when I run that command, the response is "Invalid ruleset provided".
So, I suppose the default ruleset was automatically installed in the past. How can I install the default ruleset JSON for swagger2/OAS2 on Windows? What is the correct syntax in a Windows CMD window to specify that ruleset?
Beta Was this translation helpful? Give feedback.
All reactions