{
  "openapi": "3.0.3",
  "info": {
    "title": "会员管理 - 获取会员详情",
    "version": "1.0.0",
    "description": "会员管理相关接口文档"
  },
  "paths": {
    "/api/members/{id}": {
      "get": {
        "summary": "获取会员详情",
        "description": "根据会员套餐ID获取会员套餐详细信息",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "会员套餐ID"
          }
        ],
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "example": {
                  "success": {
                    "code": "0000",
                    "message": "获取成功",
                    "data": {
                      "id": 1,
                      "code": "MEM0001",
                      "name": "会员套餐名称",
                      "memberTypeId": "xxx",
                      "price": "99.99",
                      "validityDays": 30,
                      "description": "套餐描述",
                      "status": 1
                    }
                  },
                  "failure": {
                    "code": "4040",
                    "message": "会员套餐不存在",
                    "data": null
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}