Commit 5a940b1d2c498bedf085c1eded7c9f9ec1678365
1 parent
a5e33f6d
修复 knife4j get 参数无法正确展示的问题
Showing
1 changed file
with
1 additions
and
0 deletions
yudao-server/src/main/resources/application.yaml
| @@ -43,6 +43,7 @@ springdoc: | @@ -43,6 +43,7 @@ springdoc: | ||
| 43 | swagger-ui: | 43 | swagger-ui: |
| 44 | enabled: true | 44 | enabled: true |
| 45 | path: /swagger-ui | 45 | path: /swagger-ui |
| 46 | + default-flat-param-object: true # 参见 https://doc.xiaominfo.com/docs/faq/v4/knife4j-parameterobject-flat-param 文档 | ||
| 46 | 47 | ||
| 47 | knife4j: | 48 | knife4j: |
| 48 | enable: true | 49 | enable: true |