Files
Web_BAI_Manage_ApiServer/back-end/spec/openapi.yaml

48 lines
1.3 KiB
YAML
Raw Normal View History

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