diff --git a/backend/services/api-test/src/main/java/io/metersphere/api/controller/definition/ApiDefinitionController.java b/backend/services/api-test/src/main/java/io/metersphere/api/controller/definition/ApiDefinitionController.java index 0c4f8bc06b..34b89ac5bc 100644 --- a/backend/services/api-test/src/main/java/io/metersphere/api/controller/definition/ApiDefinitionController.java +++ b/backend/services/api-test/src/main/java/io/metersphere/api/controller/definition/ApiDefinitionController.java @@ -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()); diff --git a/backend/services/project-management/src/main/java/io/metersphere/project/dto/ModuleDTO.java b/backend/services/project-management/src/main/java/io/metersphere/project/dto/ModuleDTO.java index 41583a1362..b9ef8ade79 100644 --- a/backend/services/project-management/src/main/java/io/metersphere/project/dto/ModuleDTO.java +++ b/backend/services/project-management/src/main/java/io/metersphere/project/dto/ModuleDTO.java @@ -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) {