We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally posted by BrunoVazCosta March 10, 2023 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 -v
The 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, {
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"
---
extends: [[spectral:oas]]
extends: [spectral:oas]
extends: "spectral:oas"
Please, could you give me a help?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Discussed in #2418
Originally posted by BrunoVazCosta March 10, 2023
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 -v
The 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?
The text was updated successfully, but these errors were encountered: