Closed nazarhussain closed 8 years ago
Solved the issue by adding swagger_params_parser
layer in swagger_controllers
under config. This was not mentioned in any guide/wiki. Please update wiki for it.
More details are on: http://stackoverflow.com/questions/34306720/swagger-with-custom-configuration-not-loading-params/34306770#34306770
Hello,
I had been using swagger with custom configuration and directory structure in node application.
Here is snippet of my app.js
Under config
swagger/config
directory having standard yaml configurationdefault.yml
.Now having issue that on controller
req.swagger.params
always returnnull
.Can anyone help me out in figuring out this issue..