Files
012-kaopeilian/docs/规划/后端开发拆分策略/子agent/07-Agent-Admin/api_contract.yaml
111 998211c483 feat: 初始化考培练系统项目
- 从服务器拉取完整代码
- 按框架规范整理项目结构
- 配置 Drone CI 测试环境部署
- 包含后端(FastAPI)、前端(Vue3)、管理端

技术栈: Vue3 + TypeScript + FastAPI + MySQL
2026-01-24 19:33:28 +08:00

51 lines
945 B
YAML

openapi: 3.0.0
info:
title: 系统管理模块API
version: 1.0.0
description: 管理与监控最小契约(骨架)
paths:
/api/v1/admin/settings:
get:
summary: 获取系统设置
tags: [管理]
security:
- bearerAuth: []
responses:
200:
description: 成功
put:
summary: 更新系统设置(管理员)
tags: [管理]
security:
- bearerAuth: []
responses:
200:
description: 已更新
/api/v1/admin/health:
get:
summary: 健康检查
tags: [管理]
responses:
200:
description: 健康
/api/v1/admin/metrics:
get:
summary: 系统指标
tags: [管理]
security:
- bearerAuth: []
responses:
200:
description: 成功
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT