-
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
Skipped tests when using square brackets in get parameter name #1908
Comments
Got the same issue for the description below using
Changed the description to:
The warning was still logged but the tests were able to run. But then it as
|
My bad the test success was pure luck. The parameters were missing in the query, just forgot to update the response body 🤦🏼♂️. |
Looks like there was a "related" fix to allow dots on request parameters but it does not actually fix this bug. |
The issue is affecting Open Api v3, on swagger 2.0 is working fine. |
The openApi parser (@apielements/openapi3-parser) is encoding the parameter name, so the parameter is never found on the available parameters. One solution could be changing the openapi3-parse to return the parameters as the openapi2 parser, this could have more implications I don't already know. |
Describe the bug
Skipped tests when using square brackets in get parameter name
To Reproduce
docker image apiaryio/dredd:14.0.0
api blueprint:
Expected behavior
Successful test run with output
What's your
dredd --version
output?The text was updated successfully, but these errors were encountered: