feat: 添加接口管理功能(后端OpenAPI解析入库+前端列表/详情/测试)

- 新增 ApiEndpoint/ApiParam 实体和 Mapper
- 新增 DTO 层(分页查询请求、列表项、详情项、参数项、代理测试请求/响应)
- 新增 ApiEndpointService 含 OpenAPI JSON 解析、\ 展开(最大10层)、分页查询
- 新增 ApiEndpointSyncRunner 启动时异步同步
- 新增 ApiEndpointController 分页/详情/手动同步接口
- 新增 ApiTestProxyController 代理测试接口(SSRF 防护)
- 前端新增接口列表页、详情弹窗(含测试面板、Token 来源选择)
- 前端新增菜单和路由
This commit is contained in:
2026-05-23 18:21:07 +08:00
parent bdb4fd8c8e
commit 89fbc6437a
20 changed files with 1403 additions and 0 deletions
+6
View File
@@ -107,6 +107,12 @@ const routes: RouteRecordRaw[] = [
name: 'ApiTester',
component: () => import('@/views/tools/ApiTester.vue'),
meta: { title: 'API接口调用' }
},
{
path: 'list',
name: 'EndpointList',
component: () => import('@/views/endpoint/EndpointList.vue'),
meta: { title: '接口管理' }
}
]
},