openapi: 3.0.0 info: title: Server Status API version: 1.0.0 description: 模拟查询服务器 CPU、内存、GPU 状态 servers: - url: http://172.17.0.1:8777 paths: /server/status: get: operationId: getServerStatus summary: 查询服务器状态 description: 根据服务器名称返回 CPU、内存、GPU 利用率等模拟指标 parameters: - name: server_name in: query required: true description: 服务器名称,例如 gpu-server-01 schema: type: string responses: "200": description: 成功 content: application/json: schema: type: object properties: server: type: string cpu: type: string memory: type: string gpu_util: type: string gpu_memory: type: string