mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-06-09 18:32:16 +08:00
[!]解决swagger文档使用knife4j时不兼容,无法显示接口详情的问题
This commit is contained in:
@@ -336,6 +336,8 @@ public class SwaggerEntity {
|
||||
this.schema = doProcessSchema(example);
|
||||
} else {
|
||||
this.example = example;
|
||||
// fix swagger文档使用knife4j时无法显示接口详情的问题
|
||||
this.schema = doProcessSchema(example);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user