{
  "openapi": "3.0.3",
  "info": {
    "title": "PDF文件正文抽取",
    "description": "为您提供了一个高效便捷的解决方案，它能够迅速识别并提取PDF文件中的文本内容。无论是编辑、复制还是搜索，我们的API都能让您轻松完成。告别繁琐的手动操作，提升您的工作效率和文本处理的准确性。无论是学术研究、企业文档管理，还是个人文献整理，我们的服务都能为您提供卓越的支持。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/10-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 10,
      "x-connect-timeout": 5,
      "post": {
        "summary": "PDF文件正文抽取",
        "description": "可以将PDF文件中的文字内容提取出来，以文本文件（如TXT或DOCX）的形式保存，便于编辑、搜索和分析。这项服务特别适用于需要从PDF文档中获取结构化信息的场景，如文献研究、数据挖掘、法律文档整理等。",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "ret_code": {
                              "type": "string"
                            },
                            "text": {
                              "type": "string"
                            },
                            "remark": {
                              "type": "string"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "10_1_POST",
        "parameters": [],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "pdf": {
                    "type": "string",
                    "format": "binary",
                    "description": "请填写参数描述"
                  }
                },
                "required": [
                  "pdf"
                ]
              }
            }
          }
        }
      }
    }
  },
  "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/10?tab=book"
  },
  "x-apiCode": "10",
  "x-is-own": false,
  "x-is-op": true
}