feat(接口测试): 新增接口调试接口

This commit is contained in:
wxg0103 2023-10-30 19:18:57 +08:00 committed by Craftsman
parent 57bc8ddae9
commit 9ef52a211d
9 changed files with 17 additions and 17 deletions

View File

@ -1,8 +1,8 @@
package io.metersphere.api.controller;
import io.metersphere.api.request.ApiDebugRequest;
import io.metersphere.api.request.DebugModuleCreateRequest;
import io.metersphere.api.request.DebugModuleUpdateRequest;
import io.metersphere.api.request.debug.ApiDebugRequest;
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
import io.metersphere.api.service.ApiDebugModuleService;
import io.metersphere.sdk.constants.PermissionConstants;
import io.metersphere.system.dto.sdk.BaseTreeNode;

View File

@ -1,8 +1,8 @@
package io.metersphere.api.mapper;
import io.metersphere.api.domain.ApiDebugModule;
import io.metersphere.api.request.ApiDebugRequest;
import io.metersphere.api.request.ApiTreeNode;
import io.metersphere.api.request.debug.ApiDebugRequest;
import io.metersphere.api.request.debug.ApiTreeNode;
import io.metersphere.project.dto.ModuleCountDTO;
import io.metersphere.system.dto.sdk.BaseTreeNode;
import org.apache.ibatis.annotations.Param;

View File

@ -77,7 +77,7 @@
desc
limit 1
</select>
<select id="selectApiDebugByProtocolAndUser" resultType="io.metersphere.api.request.ApiTreeNode">
<select id="selectApiDebugByProtocolAndUser" resultType="io.metersphere.api.request.debug.ApiTreeNode">
SELECT id,
NAME,
module_id AS parentId,

View File

@ -1,4 +1,4 @@
package io.metersphere.api.request;
package io.metersphere.api.request.debug;
import io.metersphere.sdk.constants.ModuleConstants;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,4 +1,4 @@
package io.metersphere.api.request;
package io.metersphere.api.request.debug;
import io.metersphere.system.dto.sdk.BaseTreeNode;
import io.swagger.v3.oas.annotations.media.Schema;

View File

@ -1,4 +1,4 @@
package io.metersphere.api.request;
package io.metersphere.api.request.debug;
import io.metersphere.sdk.constants.ModuleConstants;
import io.metersphere.validation.groups.Created;

View File

@ -1,4 +1,4 @@
package io.metersphere.api.request;
package io.metersphere.api.request.debug;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

View File

@ -5,10 +5,10 @@ import io.metersphere.api.mapper.ApiDebugBlobMapper;
import io.metersphere.api.mapper.ApiDebugMapper;
import io.metersphere.api.mapper.ApiDebugModuleMapper;
import io.metersphere.api.mapper.ExtApiDebugModuleMapper;
import io.metersphere.api.request.ApiDebugRequest;
import io.metersphere.api.request.ApiTreeNode;
import io.metersphere.api.request.DebugModuleCreateRequest;
import io.metersphere.api.request.DebugModuleUpdateRequest;
import io.metersphere.api.request.debug.ApiDebugRequest;
import io.metersphere.api.request.debug.ApiTreeNode;
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
import io.metersphere.project.dto.ModuleCountDTO;
import io.metersphere.project.dto.NodeSortDTO;
import io.metersphere.project.service.ModuleTreeService;

View File

@ -4,9 +4,9 @@ import io.metersphere.api.domain.*;
import io.metersphere.api.mapper.ApiDebugBlobMapper;
import io.metersphere.api.mapper.ApiDebugMapper;
import io.metersphere.api.mapper.ApiDebugModuleMapper;
import io.metersphere.api.request.ApiDebugRequest;
import io.metersphere.api.request.DebugModuleCreateRequest;
import io.metersphere.api.request.DebugModuleUpdateRequest;
import io.metersphere.api.request.debug.ApiDebugRequest;
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
import io.metersphere.api.service.ApiDebugModuleService;
import io.metersphere.project.domain.Project;
import io.metersphere.project.mapper.ProjectMapper;