Replies: 2 comments 1 reply
-
|
anyone with some insight? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I had the same issue, this link explains the solution that worked for me: link |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hi everyone, I hope you all are well.
I'm getting an error with my ruleset hosted remotely.
docker run --rm -v ${pwd}/tmp:/usr/src/spectral -e PROXY=http://proxy.company.com.br:8080 docker-registry.company.com.br/devops/spectral:6.6.0 lint -r https://gitlab.cloud.company.com.br/me/api-design-rules/raw/master/oas.yaml openapi-ser-v1.0.0.yaml -vThe error
Error running Spectral! Error #1: Invalid ruleset provided at assertRuleset ../../../snapshot/project/packages/ruleset-migrator/src/validation/index.ts:15 throw new Error('Invalid ruleset provided'); at read ../../../snapshot/project/packages/ruleset-migrator/src/index.ts:25 assertRuleset(ruleset); at processTicksAndRejections node:internal/process/task_queues:96 at async migrateRuleset ../../../snapshot/project/packages/ruleset-migrator/src/index.ts:38 const ruleset = await read(filepath, fs, fetch); at async getRuleset ../../../snapshot/project/packages/cli/src/services/linter/utils/getRuleset.ts:49 const migratedRuleset = await migrateRuleset(rulesetFile, {For my ruleset I've tried (with
---at the 1st line and without it)extends: [[spectral:oas]]extends: [spectral:oas]extends: "spectral:oas"Please, could you give me a help?
Beta Was this translation helpful? Give feedback.
All reactions