-
Notifications
You must be signed in to change notification settings - Fork 280
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
dredd is ignoring default value for enum type parameter and failing validation #872
Comments
Hi @karpilin! Thanks for the report. This looks like a bug. Is this something what worked in previous Dredd versions? |
I think it did, but then I tried to rollback to previous versions all the way to 4.1.0, and dredd-transactions down to 4.2.0. but still was getting this error. So the tests, that I believe were previously working, are failing now. |
Thanks! I'll look into it. |
I was able to reproduce this. Working on tests and fixes in apiaryio/dredd-transactions#98. |
Thanks @honzajavorek for looking into it. I'm using v.3.4.5. These tests were working earlier but started failing after I did an |
We're affected by this as well. Seems fury-adapter-swagger has introduced a breaking change while bumping version from A quick solution to fix this, is using npm shrinkwrap or package-lock.json |
I'm sorry for the regression. apiaryio/dredd-transactions#98 should soon fix the problem and since it's going to result in another patch version, the fix should automatically spread the same way as the problem did. |
Cool @honzajavorek , thanks. |
Describe your problem
Dredd is failing API Blueprint validation if there is an enum type parameter on the endpoint. Default value is ignored. Apiary validation is working fine.
for example:
throwing out the following error:
What's your
dredd --version
output?The text was updated successfully, but these errors were encountered: