{
  "openapi": "3.0.3",
  "info": {
    "title": "美食探索",
    "description": "“美食探索”——这不仅是一款接口，更是一场味蕾的盛宴之旅。只需输入城市之名，即刻解锁当地的美食地图，轻松发现当地的特色佳肴。无论是踏上旅途的游子，还是忙碌于差途的商务人士，亦或是归家探亲的游子，这里都有你所需的美食攻略，让每一次出行都成为一次难忘的美食之旅。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/3215-2": {
      "x-pointCode": 2,
      "x-mode": "mapping",
      "x-read-timeout": 30,
      "x-connect-timeout": 30,
      "post": {
        "summary": "推荐美食图文版",
        "description": "传入地名，返回5条当地美食和推荐理由",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示调用成功，-1表示调用失败"
                            },
                            "mealList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "description": "推荐理由"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "美食"
                                  }
                                }
                              },
                              "description": "推荐美食列表，没有找到时返回空list"
                            },
                            "area": {
                              "type": "string",
                              "description": "地区介绍"
                            },
                            "img": {
                              "type": "string",
                              "description": "美食图片链接"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3215_2_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "area": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 36,
                    "description": "城市名称，查询该地区最多5道美食"
                  }
                },
                "required": [
                  "area"
                ]
              }
            }
          }
        }
      }
    },
    "/3215-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 300,
      "x-connect-timeout": 300,
      "post": {
        "summary": "推荐美食",
        "description": "传入地名，返回5条当地美食和推荐理由",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "number",
                              "description": "0表示调用成功，-1表示调用失败"
                            },
                            "mealList": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "description": {
                                    "type": "string",
                                    "description": "推荐理由"
                                  },
                                  "name": {
                                    "type": "string",
                                    "description": "美食"
                                  }
                                }
                              },
                              "description": "推荐美食列表，没有找到时返回空list"
                            },
                            "area": {
                              "type": "string",
                              "description": "地区介绍"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3215_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "area": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 36,
                    "description": "城市名称，查询该地区最多5道美食"
                  }
                },
                "required": [
                  "area"
                ]
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apiGateway/view/3215?tab=book"
  },
  "x-apiCode": "3215",
  "x-is-own": true,
  "x-is-op": true
}