Closed paul42 closed 8 years ago
Interesting find. This is where its done if you are up to sending a PR for this - https://github.com/krakenjs/generator-swaggerize/blob/master/app/templates/_handler_restify.js#L10
ah dang, forgot to reference this in PR#58
Please check the latest version generator-swaggerize@3.0.0. This should be resolved.
Not a huge deal, but I don't think $ref'd parameters names are coming in... not certain how to get them to be pulled and not certain how swagger sdk works in node?
swagger.json snippet:
routes snippet that were created by yo-swaggerize:
I modified the above a bit, so forgive me if it's not a pristine example, but the comments are the interesting part.
I'd love to help out, if you have any pointers on where to drill into I'd love to cut my teeth on a pull request.
Thanks in advance, Paul