-
Notifications
You must be signed in to change notification settings - Fork 762
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
Regression: Version 3 does not merge path and operation properties #965
Comments
@kevinoid Thanks for the report. This is a complete rewrite so previous code may not be relevant. I was sure we had a test for this case, but we'll definitely look into it. |
Great, thanks @webron! |
Thanks for reporting the issue. Please report new ones as you find them. If you can help us with writing tests and even fixes PRs, that would be appreciated. We hope to formalize a process for it later this week. |
Will do. So far this is the only issue I've noticed. I actually started writing a test for this one but got bogged down when the test behaved differently than calling the API directly (looks like |
I'm still working on this and trying to solve the issue.
the URL will have the |
Thanks @saharj and @buunguyen! The fix is working well for me with v3.0.3. |
In a specification where parameters are defined on both the path and the operation, the parameters from the path appear to be ignored. For example:
With
swagger-js
version 3.0.1 this fails withAssertionError: '/cars/%7BcarId%7D' === '/cars/123'
whileswagger-js
version 2.1.32 printsIt works.
. I bisected the regression to 7678d40, but that's obviously not very helpful since almost everything was replaced in that commit.Thanks,
Kevin
The text was updated successfully, but these errors were encountered: