Skip to content
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

Swagger UI support one-click expand model definition (include field comment) #1802

Closed
lzw5399 opened this issue Apr 30, 2024 · 1 comment
Closed

Comments

@lzw5399
Copy link

lzw5399 commented Apr 30, 2024

Is your feature request related to a problem? Please describe.
When the someone else(usually frontend developer) using the swagger to integrate the server-side API into the frontend project, but the input/output definition model description is too hard to use, because the users should click the definition(include nested model & fields) one by one to show the comment.

image

Describe the solution you'd like

Could we add a one-click expand button to expand them all? To avoid the structural level to high,limit a max size?

Describe alternatives you've considered

Additional context

@lzw5399 lzw5399 changed the title Support one-click expand model definition (include field comment) Swagger UI support one-click expand model definition (include field comment) Apr 30, 2024
@lzw5399
Copy link
Author

lzw5399 commented Apr 30, 2024

wrong repo I'll move it to https://github.com/swaggo/gin-swagger

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant