{
  "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": {
    "/3218-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 15,
      "x-connect-timeout": 5,
      "post": {
        "summary": "问与答",
        "description": "提交你的疑问，得到简洁精炼的答案",
        "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表示成功，要扣费"
                            },
                            "remark": {
                              "type": "string",
                              "description": "回答失败时有原因提示"
                            },
                            "answer": {
                              "type": "string",
                              "description": "一句话答案，可能返回空字符串"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3218_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/x-www-form-urlencoded": {
              "schema": {
                "type": "object",
                "properties": {
                  "question": {
                    "type": "string",
                    "minLength": 9,
                    "maxLength": 300,
                    "description": "你的疑问"
                  }
                },
                "required": [
                  "question"
                ]
              }
            }
          }
        }
      }
    }
  },
  "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/3218?tab=book"
  },
  "x-apiCode": "3218",
  "x-is-own": true,
  "x-is-op": true
}