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

springboot3版本,knife4j UI 针对GET请求+dto对相传参形式显示异常 #855

Open
PeteLuo opened this issue Nov 3, 2024 · 1 comment

Comments

@PeteLuo
Copy link

PeteLuo commented Nov 3, 2024

请求参数封装:
image
image

swagger ui展示与请求正常:
image

knife4j ui展示与请求兼容异常(post + request body正常,仅在请求方法为GET时异常):
image
image

环境:
springboot version 3.3.5
knife4j 4.5.0

已创建对应example可快速重现:https://github.com/PeteLuo/springboot3-knife4j-demo

@QuantumStudioOfficial
Copy link

https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param
不知道为什么作者不看github issues ,他在博客里回复了

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

2 participants