feat(接口测试): 新增接口调试接口
This commit is contained in:
parent
57bc8ddae9
commit
9ef52a211d
|
@ -1,8 +1,8 @@
|
||||||
package io.metersphere.api.controller;
|
package io.metersphere.api.controller;
|
||||||
|
|
||||||
import io.metersphere.api.request.ApiDebugRequest;
|
import io.metersphere.api.request.debug.ApiDebugRequest;
|
||||||
import io.metersphere.api.request.DebugModuleCreateRequest;
|
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
|
||||||
import io.metersphere.api.request.DebugModuleUpdateRequest;
|
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
|
||||||
import io.metersphere.api.service.ApiDebugModuleService;
|
import io.metersphere.api.service.ApiDebugModuleService;
|
||||||
import io.metersphere.sdk.constants.PermissionConstants;
|
import io.metersphere.sdk.constants.PermissionConstants;
|
||||||
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package io.metersphere.api.mapper;
|
package io.metersphere.api.mapper;
|
||||||
|
|
||||||
import io.metersphere.api.domain.ApiDebugModule;
|
import io.metersphere.api.domain.ApiDebugModule;
|
||||||
import io.metersphere.api.request.ApiDebugRequest;
|
import io.metersphere.api.request.debug.ApiDebugRequest;
|
||||||
import io.metersphere.api.request.ApiTreeNode;
|
import io.metersphere.api.request.debug.ApiTreeNode;
|
||||||
import io.metersphere.project.dto.ModuleCountDTO;
|
import io.metersphere.project.dto.ModuleCountDTO;
|
||||||
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
desc
|
desc
|
||||||
limit 1
|
limit 1
|
||||||
</select>
|
</select>
|
||||||
<select id="selectApiDebugByProtocolAndUser" resultType="io.metersphere.api.request.ApiTreeNode">
|
<select id="selectApiDebugByProtocolAndUser" resultType="io.metersphere.api.request.debug.ApiTreeNode">
|
||||||
SELECT id,
|
SELECT id,
|
||||||
NAME,
|
NAME,
|
||||||
module_id AS parentId,
|
module_id AS parentId,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.request;
|
package io.metersphere.api.request.debug;
|
||||||
|
|
||||||
import io.metersphere.sdk.constants.ModuleConstants;
|
import io.metersphere.sdk.constants.ModuleConstants;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.request;
|
package io.metersphere.api.request.debug;
|
||||||
|
|
||||||
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
import io.metersphere.system.dto.sdk.BaseTreeNode;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.request;
|
package io.metersphere.api.request.debug;
|
||||||
|
|
||||||
import io.metersphere.sdk.constants.ModuleConstants;
|
import io.metersphere.sdk.constants.ModuleConstants;
|
||||||
import io.metersphere.validation.groups.Created;
|
import io.metersphere.validation.groups.Created;
|
|
@ -1,4 +1,4 @@
|
||||||
package io.metersphere.api.request;
|
package io.metersphere.api.request.debug;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import jakarta.validation.constraints.NotBlank;
|
import jakarta.validation.constraints.NotBlank;
|
|
@ -5,10 +5,10 @@ import io.metersphere.api.mapper.ApiDebugBlobMapper;
|
||||||
import io.metersphere.api.mapper.ApiDebugMapper;
|
import io.metersphere.api.mapper.ApiDebugMapper;
|
||||||
import io.metersphere.api.mapper.ApiDebugModuleMapper;
|
import io.metersphere.api.mapper.ApiDebugModuleMapper;
|
||||||
import io.metersphere.api.mapper.ExtApiDebugModuleMapper;
|
import io.metersphere.api.mapper.ExtApiDebugModuleMapper;
|
||||||
import io.metersphere.api.request.ApiDebugRequest;
|
import io.metersphere.api.request.debug.ApiDebugRequest;
|
||||||
import io.metersphere.api.request.ApiTreeNode;
|
import io.metersphere.api.request.debug.ApiTreeNode;
|
||||||
import io.metersphere.api.request.DebugModuleCreateRequest;
|
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
|
||||||
import io.metersphere.api.request.DebugModuleUpdateRequest;
|
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
|
||||||
import io.metersphere.project.dto.ModuleCountDTO;
|
import io.metersphere.project.dto.ModuleCountDTO;
|
||||||
import io.metersphere.project.dto.NodeSortDTO;
|
import io.metersphere.project.dto.NodeSortDTO;
|
||||||
import io.metersphere.project.service.ModuleTreeService;
|
import io.metersphere.project.service.ModuleTreeService;
|
||||||
|
|
|
@ -4,9 +4,9 @@ import io.metersphere.api.domain.*;
|
||||||
import io.metersphere.api.mapper.ApiDebugBlobMapper;
|
import io.metersphere.api.mapper.ApiDebugBlobMapper;
|
||||||
import io.metersphere.api.mapper.ApiDebugMapper;
|
import io.metersphere.api.mapper.ApiDebugMapper;
|
||||||
import io.metersphere.api.mapper.ApiDebugModuleMapper;
|
import io.metersphere.api.mapper.ApiDebugModuleMapper;
|
||||||
import io.metersphere.api.request.ApiDebugRequest;
|
import io.metersphere.api.request.debug.ApiDebugRequest;
|
||||||
import io.metersphere.api.request.DebugModuleCreateRequest;
|
import io.metersphere.api.request.debug.DebugModuleCreateRequest;
|
||||||
import io.metersphere.api.request.DebugModuleUpdateRequest;
|
import io.metersphere.api.request.debug.DebugModuleUpdateRequest;
|
||||||
import io.metersphere.api.service.ApiDebugModuleService;
|
import io.metersphere.api.service.ApiDebugModuleService;
|
||||||
import io.metersphere.project.domain.Project;
|
import io.metersphere.project.domain.Project;
|
||||||
import io.metersphere.project.mapper.ProjectMapper;
|
import io.metersphere.project.mapper.ProjectMapper;
|
||||||
|
|
Loading…
Reference in New Issue