This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 280
Running dredd on petstore does not produce reports due to API Description processing error when processing OpenAPI specification #1873
Comments
Report isn't generated that validation failed. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
Running dredd on petstore does not produce reports due to API Description processing error when processing OpenAPI specification
To Reproduce
node run C:\Users\statis\node_modules\dredd\build\Dredd.js https://petstore.swagger.io/v2/swagger.json https://petstore.swagger.io --reporter html --output report.html --loglevel debug
Expected behavior
Running dredd from command line on endpoints wth OpenAPI should produce reports.
What is in your
dredd.yml
?Running from command line with no yml
What's your
dredd --version
output?Does
dredd --loglevel=debug
uncover something?Nope
Can you send us failing test in a Pull Request?
Commenting out lines 178 to 181 in Dredd.js skips the early exit.
//if (loggerInfos.find((loggerInfo) => loggerInfo.level === 'error')) {
// callback(new Error('API description processing error'), this.stats);
// return;
// }
That way dredd actually runs and produces reports.
The text was updated successfully, but these errors were encountered: