-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
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
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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: