vader
vader copied to clipboard
Generate autodocumentation for swagger
Hi @joesonw ! First of all thank you for your awesome work. I start adding autodocumentation for the module and this issue is to disscuss about your opinion. You can check the first try i make here: https://github.com/t2ee/vader/compare/master...danibram:add_swagger_doc Right now i only add the basics, with this code i can generate the swagger json and i autocreate a route to return the documentation in a json, remains the route to render this with official swagger module. Its only a first step. Do you want to put inside your module?or in a external module? Maybe in the future i need to add a decorator for custom things like descriptions etc...
Also i add a test, to try it and works fine, maybe my code is bad im not a really expert with typescript classes.
I'm looking forward to hearing from you Thanks for your time!