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

使用泛型T代替返回类型的Object #58

Open
18894142401 opened this issue May 26, 2024 · 0 comments
Open

使用泛型T代替返回类型的Object #58

18894142401 opened this issue May 26, 2024 · 0 comments

Comments

@18894142401
Copy link

在 swagger 中,主要是Knife4j的接口文档中, 使用Object 导致返回类型没有标注,使用泛型T则会处理该问题
参考文档:https://blog.csdn.net/WeiLaiKeQiLx/article/details/119038602
官方文档说明:https://www.bookstack.cn/read/knife4j/swagger-des-not-found.md
希望实现的样子:
image

目前的返回样子:
image

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