fix(接口定义): 修复swagger导入case为空的问题
--bug=1009878 --user=刘瑞斌 【接口测试】接口定义,swagger导入报错 https://www.tapd.cn/55049933/s/1096270
This commit is contained in:
parent
0899186dc6
commit
70fbb0cd12
|
@ -7,6 +7,7 @@ import io.metersphere.base.domain.ApiTestCaseWithBLOBs;
|
||||||
import io.metersphere.base.domain.EsbApiParamsWithBLOBs;
|
import io.metersphere.base.domain.EsbApiParamsWithBLOBs;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@ public class ApiDefinitionImport {
|
||||||
private List<ApiDefinitionWithBLOBs> data;
|
private List<ApiDefinitionWithBLOBs> data;
|
||||||
|
|
||||||
// 新版本带用例导出
|
// 新版本带用例导出
|
||||||
private List<ApiTestCaseWithBLOBs> cases;
|
private List<ApiTestCaseWithBLOBs> cases = new ArrayList<>();
|
||||||
|
|
||||||
//ESB文件导入的附属数据类
|
//ESB文件导入的附属数据类
|
||||||
private Map<String,EsbApiParamsWithBLOBs> esbApiParamsMap;
|
private Map<String,EsbApiParamsWithBLOBs> esbApiParamsMap;
|
||||||
|
|
Loading…
Reference in New Issue