-
Notifications
You must be signed in to change notification settings - Fork 51
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 response body for user #67 #135
Conversation
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.
@iamsahebgiri APIproperty is not needed as the nest-cli automatically adds it from example comment
Thank you for your reply @Devesh21700Kumar. But nest wasn't showing the response body, so I had to mention it explicitly. Please tell me if I am missing something. |
yeah.. you have to tun the command nest start instead of npm start or npm run dev or any other command Lemme show you, (See the pic below) |
feel free to ask any other doubt you might have regarding this |
I totally get it. Now I will have to undo all the commits and then add comments to those classes which lack such comments if exists any. After going through the entire codebase, I got to know that most of the work is already done. If there is any work that you want me to try then do let me know. There are few questions though -
|
Actually they don't have to be capitalised. They had to be converted to lowercase. Haven't thought about the rest of them. but you can do the APi versioning and bump to nestjs 8 if you want |
Description
Added response body for user in swagger UI.
Related Issue
Fixes # [ISSUE]
#67
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Additional Info (OPTIONAL)
Checklist
Screenshots