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中,get请求,如果是一个对象,无法展示出参数的详情 #2521

Closed
qq295823929 opened this issue Nov 23, 2022 · 2 comments
Closed
Labels
type: enhancement New feature or request

Comments

@qq295823929
Copy link

image
使用官网上面的列子,swagger的界面是这样的
image
这样,如果有很多参数,就无法区分这些参数的属性,比如长度,是否毕传等等.

期望能query参数很多的时候,变成
image
不知道是否能提供

@czy88840616
Copy link
Member

对象可以通过加装饰器加 description 来描述的吧。

@czy88840616 czy88840616 added the type: enhancement New feature or request label Dec 11, 2022
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement New feature or request
Development

No branches or pull requests

2 participants