{ "openapi": "3.1.0", "info": { "title": "统一认证平台", "description": "用于认证用户信息使用", "version": "1.0.0" }, "servers": [ { "url": "http://192.168.0.69:9081" } ], "paths": { "/yum/v1/users/{id}": { "get": { "tags": ["User API"], "summary": "获取用户信息", "operationId": "getUser", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "integer", "minimum": 1 } } ], "responses": { "200": { "description": "成功返回用户", "content": { "application/json": { "schema": { "type": "object", "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "email": { "type": "string" } } } } } }, "404": { "description": "用户不存在" } } } } } }