Files
Web_BAI_Manage_ApiServer/back-end/spec/openapi.yaml
XuJiacheng 9a387f3eec feat: 初始化项目结构并添加基础配置
添加前后端基础项目结构,包括.gitignore、package.json等配置文件
实现前端基础功能模块,包括路由、状态管理、API请求封装等
添加前端UI组件库和样式体系
配置开发环境Mock系统和构建工具链
2026-03-18 14:03:35 +08:00

48 lines
1.3 KiB
YAML

openapi: 3.1.0
info:
title: BAI Management API
description: Backend API for BAI Management System
version: 1.0.0
servers:
- url: http://localhost:3000
description: Development server
paths:
/test-helloworld:
get:
summary: Test endpoint
description: Returns a hello world message
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Hello, World!
timestamp:
type: string
format: date-time
status:
type: string
example: success
/health:
get:
summary: Health check
description: Checks if the server is running
responses:
'200':
description: Server is healthy
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: healthy
timestamp:
type: string
format: date-time