fix(接口测试): 修复接口Swagger url导入问题
--bug=1044196 --user=王旭 【接口测试】接口定义-导入接口-Swagger url导入失败(特定URL) https://www.tapd.cn/55049933/s/1552349
This commit is contained in:
parent
cbd2f91fa1
commit
12a2a8eaba
|
@ -310,6 +310,7 @@ public class ApiDefinitionController {
|
|||
}
|
||||
|
||||
@PostMapping(value = "/export/{type}")
|
||||
@Operation(summary = "接口测试-接口管理-导出接口定义")
|
||||
@RequiresPermissions(PermissionConstants.PROJECT_API_DEFINITION_EXPORT)
|
||||
public ApiExportResponse export(@RequestBody ApiDefinitionBatchRequest request, @PathVariable String type) {
|
||||
return apiDefinitionExportService.export(request, type, SessionUtils.getUserId());
|
||||
|
|
|
@ -13,7 +13,7 @@ public class ModuleDTO implements Serializable {
|
|||
@Schema(description = "模块", allowableValues = {"workstation", "testPlan", "bugManagement", "caseManagement", "apiTest", "uiTest", "loadTest"})
|
||||
private String module;
|
||||
|
||||
@Schema(description = "是否启用", allowableValues = {"true", "false"})
|
||||
@Schema(description = "是否启用", type = "boolean")
|
||||
private Boolean moduleEnable;
|
||||
|
||||
public ModuleDTO(String module, Boolean moduleEnable) {
|
||||
|
|
Loading…
Reference in New Issue