openapi: 3.1.0
info:
  title: BAI Management API
  description: 精简后的后端 API，仅保留健康检查接口
  version: 1.0.0
servers:
  - url: https://bai-api.blv-oa.com
    description: BAI-api生产环境
  - url: http://localhost:3000
    description: BAI-api本地开发环境
tags:
  - name: 系统
    description: 基础健康检查接口
components:
  schemas:
    ApiResponse:
      type: object
      required: [code, msg, data]
      properties:
        code:
          type: integer
          example: 200
        msg:
          type: string
          example: 操作成功
        data:
          type: object
          additionalProperties: true
    HealthData:
      type: object
      properties:
        status:
          type: string
          example: healthy
        timestamp:
          type: string
          format: date-time
paths:
  /api/health:
    post:
      tags: [系统]
      summary: 健康检查
      description: 检查服务是否正常运行
      responses:
        '200':
          description: 服务状态正常
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      data:
                        $ref: '#/components/schemas/HealthData'

                    properties:
