Inso CLI lint spec with .spectral.yml error #7636
Answered
by
jackkav
ponsakorn30214
asked this question in
Help
-
I'm trying to use
I tested this setup with Insomnia 8.6.1 and it works normally. |
Beta Was this translation helpful? Give feedback.
Answered by
jackkav
Jul 5, 2024
Replies: 1 comment 9 replies
-
Prioritizing for 9.3.2 this week. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an update for you. It would appear the spectral bundle ruleset module, searches the parent directory for ruleset imports even when you are using the "spectral:oas" ruleset.
This explains why running this command from your /home directory is causing you issues. It seems spectral is expecting you to have full access to the parent folder of the file you are linting.
I suspect theres something in the spectral docs to explain this behaviour.
Hope this helps @ponsakorn30214