fix(接口测试): 修复swagger3导出后再导入postman失败问题
https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001018280 --user=郭雨琦
This commit is contained in:
parent
62660667ce
commit
0556a44c4d
|
@ -615,12 +615,11 @@ public class Swagger3Parser extends SwaggerAbstractParser {
|
|||
|
||||
result.setOpenapi("3.0.1");
|
||||
SwaggerInfo swaggerInfo = new SwaggerInfo();
|
||||
swaggerInfo.setVersion("1.0.1");
|
||||
swaggerInfo.setVersion("1.0");
|
||||
swaggerInfo.setTitle("ms-" + project.getName());
|
||||
swaggerInfo.setDescription("");
|
||||
swaggerInfo.setTermsOfService("");
|
||||
result.setInfo(swaggerInfo);
|
||||
result.setInfo(new SwaggerInfo());
|
||||
result.setServers(new ArrayList<>());
|
||||
result.setTags(new ArrayList<>());
|
||||
result.setComponents(JSONUtil.createObj());
|
||||
|
|
Loading…
Reference in New Issue