-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
How to write summary of API in Swagger? #256
Comments
Close #256 - support summary property of swagger
Update to |
Cool! I can't wait to see this right now! Thank you! |
In my project, the summary is partially applied. I can't predict under what circumstances this is created in. I tried to create a virtual project and show you this situation instead of showing the code of my actual project, but I can't reproduce this situation. Summary is not visible in all APIs. In Korean git clone https://github.com/kakasoo/nestia-demo
cd nestia-demo
git switch nestia#256-2
npm i
npx nestia swagger
npm run start:dev |
Use
|
OK, thanks! I'll do it right away. |
In English.
Hello. First of all, thank you for this amazing library.
I'm going to fill out the Swagger document and hand it over to the front developer. However, since there is no way to display a summary on each API of the swagger document, there is a problem that you have to infer by looking at the resource name of the API and the path written in RESTful.
If the first line of the top comment of the controller method is recognized as a summary, I think I can understand the document faster.
In Korean.
안녕하세요. 우선 이런 좋은 라이브러리를 만들어주신 데에 감사드립니다.
저는 현재 스웨거 문서를 작성하여 프론트 개발자에게 넘기려고 합니다. 다만 swagger 문서의 각 API 상에서 summary를 표시할 방법이 없다 보니 API의 리소스 이름과 RESTful하게 작성되어 있는 경로를 보고 유추해야 하는 문제가 있습니다.
만약 controller method의 상단 주석 첫 줄을 summary로 인식하게 해준다면 더 빠르게 문서를 이해할 수 있을 거라고 생각합니다.
The text was updated successfully, but these errors were encountered: