-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
Add API documentation #2688
Add API documentation #2688
Conversation
Pull Request Test Coverage Report for Build 4086
💛 - Coveralls |
export interface NestApplicationOptions extends NestApplicationContextOptions { | ||
/** | ||
* CORS options from [Express CORS package](https://github.com/expressjs/cors#configuration-options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the cors
option is also usable for Fastify, right? I think we should not add an express link in that case.
* @returns {void} | ||
*/ | ||
setGlobalPrefix(prefix: string): this; | ||
|
||
/** | ||
* Setup Ws Adapter which will be used inside Gateways. | ||
* Use, when you want to override default `socket.io` library. | ||
* Use when you want to override default `socket.io` library. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Use when you want to override default `socket.io` library. | |
* Use when you want to override default `socket.io` library. |
Could be anything - lets not assume it is socket.io
@kamilmysliwiec The commit history is currently a mess - would you be ok with squashing all the commits into one? |
I've been tracking my progress here: https://docs.google.com/spreadsheets/d/1M80PQuiyQznHbi802QLhvSeWF9Tba6jJeqtc2wY0YZU/edit?usp=sharing I've been noting a bunch of questions/comments there that might be worth looking at once you've done a basic review. |
@kamilmysliwiec more information on the tag definitions, see here |
Can we merge it already? :) (at least everything what we have so far) |
Lets rebase first. @johnbiundo ping me on Discord if you need assistance :) |
@BrunnerLivio I am not sure how soon I can get to this as I'm serving on jury duty the rest of this week. Feel free to proceed with this if you would like :) |
3c510ad
to
9edd044
Compare
There we go, squashed into 6 commits. @johnbiundo you are still the author for your commits :) |
Awesome. Thanks @BrunnerLivio |
@johnbiundo a few notes:
|
@kamilmysliwiec Thanks for the review. re: re: comments in overloaded functions/methods: Same: once we discovered the pattern, I've been trying to reproduce a slightly different (mainly, in signature only) version of the comment for each overloaded method. I'll eventually make a final pass through all of them and make sure this is done. |
Thanks for clarification @johnbiundo. For the sake of consistency (publicApi), can we move them all at the bottom before we merge this PR?
That would be awesome! |
@kamilmysliwiec will do (re: |
e6a4c56
to
2ee5a99
Compare
2ee5a99
to
ff4fe13
Compare
15989bb
to
e9ecb5e
Compare
@kamilmysliwiec: @johnbiundo and I realized we had not pushed Johns last commits. We did a recovery mission and now it is restaged as before (same commit history). From the formatting: Now
|
e9ecb5e
to
85f3897
Compare
Amazing job! Thanks guys, let me pull this branch |
Such an amazing piece of work! Thanks again, merging to 6.6.0 branch :) |
Hi guys! Thanks for this amazing work 👏 |
Hi @fwoelffel. This PR is related to two goals:
I guess your question is regarding the online documentation? We are currently in the process for that quite some time. There is docs.nestjs.com#413 which already generates API docs in visual form. This feature is quite a big change, therefore we broke it down in multiple tasks
Since I am currently quite busy with my job, I have trouble to push this further at the moment. I hope for more time in the future, but can't tell at the moment unfortunately. If you would like to contribute, let me know :) |
Thanks for the quick response @BrunnerLivio |
@fwoelffel that would be awesome. In general the next step I would have taken would have been docs.nestjs.com#549. If you need some guidance on how to do that, you should definitely read through the issue and you can also ping me on Discord for further guidance :) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?