[!]解决swagger文档使用knife4j时不兼容,无法显示接口详情的问题

This commit is contained in:
Lianjy
2021-05-18 17:32:25 +08:00
parent 6e9e8c9de8
commit 3bade5a4ed

View File

@@ -336,6 +336,8 @@ public class SwaggerEntity {
this.schema = doProcessSchema(example);
} else {
this.example = example;
// fix swagger文档使用knife4j时无法显示接口详情的问题
this.schema = doProcessSchema(example);
}
}