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

对象作为get请求的参数,无法解析成单个参数,导致请求。 #767

Open
reflyhight opened this issue Apr 7, 2024 · 3 comments

Comments

@reflyhight
Copy link

Springboot3.07 + knife4j 4.5.0会出现
微信截图_20240407135315

使用springboot2整合的,是正常的
微信截图_20240407140045

接口端参数

 @ApiOperation("查询所有")
    @GetMapping("/list")
    public Result<List<P>> list(PageDto page) {
@xiaoymin
Copy link
Owner

xiaoymin commented Apr 7, 2024

@darkSystemCode
Copy link

@xiaoymin 你好,如上所示,如果PageDto存在枚举类型status字段,如何在文档上自动显示枚举值呢?目前status只使用@Schema修饰,文档显示的是String类型

@iamcheeming
Copy link

springdoc的问题多多 早知道不升级到最新版本了

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

4 participants