Skip to content
This repository was archived by the owner on Apr 21, 2020. It is now read-only.
This repository was archived by the owner on Apr 21, 2020. It is now read-only.

Generate autodocumentation for swagger #5

@danibram

Description

@danibram

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:
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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions