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
Integrate with routing-controllers
#2
Comments
sounds good, would be great if we have such ability to generate docs right from the code |
Frankly, I think @pleerock has a far more robust library for this - really the only thing it's missing (at least, from having looked at it) is swagger spec generation. With swagger spec generation on top, it's basically exactly what I'd want when starting to build out an API. Since most of the work for swagger generation is parsing out the metadata and converting it to a spec, 90% of the logic is specific to the implementation, e.g. the conventions established in https://github.com/pleerock/routing-controllers. I might take a stab and open a pull request over there with spec generation, as I think it has more value coming as a single package, or at least an extension (e.g. routing-controllers-swagger). |
@lukeautry I'm all for this, let me know how I can help! |
@lukeautry sounds very promising let me know too if there is something we need to do together to make this swagger spec generation part of routing-controllers |
Per discussion with @lukeautry...
Any feedback @pleerock ? |
Closing for now. |
routing-controllers is a extensive decorator library for Express and TypeScript. It, however, does not have support for Swagger ( yet ;) ).
Rather than re-invent the wheel it would be nice to have adapters for use with other libraries like this. I've spoken to @pleerock and he's interested in this effort too.
Additionally, there is class-validators which is a decorator pattern for property validation that might be worth thinking about too.
The text was updated successfully, but these errors were encountered: