Skip to content
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

req.swagger.params not defined #15

Open
mhamill opened this issue Jul 16, 2016 · 2 comments
Open

req.swagger.params not defined #15

mhamill opened this issue Jul 16, 2016 · 2 comments

Comments

@mhamill
Copy link

mhamill commented Jul 16, 2016

The latest version of swagger-express-mw no longer defines the req.swagger.params object. This was not an issue with version 0.1.0, which I was on before.

I also noticed that running swagger project install still installs version 0.1.0 of this software.

@mhamill
Copy link
Author

mhamill commented Jul 19, 2016

It appears that this issue is related to a breaking change documented at https://github.com/theganyo/swagger-node-runner/releases/tag/v0.6.0.

If my understanding is correct, to get req.swagger.params working again, I need to add the swagger_params_parser line into default.yaml. Can anyone confirm please?

@theganyo
Copy link
Contributor

Yes. See also this: #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants