-
Notifications
You must be signed in to change notification settings - Fork 4
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 swagger docs for API #1
Comments
Hi @comoser I'd like to work on this. |
Hey @jeffugo! Feel free to pick it up, the main thing here is that it's important to expose the request and response DTOs in the controller docs for swagger. Also, it would be good to have the authentication with the bearer token working to test the endpoints swagger provides. |
Alright, @comoser. If I may, I'll ask for clarity where I need it. |
Alright @comoser. Thank you. |
Hi @comoser. I'm sorry you haven't heard from me. Been trying to figure this out in the past few days. Couldn't find any resources online to help. It appears this is a tad too technical for my skill set. |
@jeffugo The solution is technical, although the result is documentation. The solutions is mostly given by the documentation of the framework used to build the API: https://docs.nestjs.com/openapi/introduction Following that gives the first steps to solve this issue, but indeed it requires a bit of technical knowledge. |
Thanks @comoser for the link. I'll go through the resource and see if I understand it enough to go ahead. I'll let you know. |
@jeffugo how do you fare on this issue? :) |
Hi @comoser. I'm just getting around to studying the resource you sent. It's too technical for my current skill set. I'm so sorry for the delay and the inconvenience this may have caused. |
There's no inconvenience at all! Feel free to take your time and understand the issue. I just wanted to know if you were still invested in it, given that it's more technical than you thought :) |
We have a postman collection in the repository, and that's great for developers. But, there may be people that want to only build the UI and don't want to rely on the postman collection to get the endpoint information.
We need to add swagger annotations appropriately to every endpoint in order to publish an open API doc for whoever wants to consume it.
The text was updated successfully, but these errors were encountered: