# swagger2office **Repository Path**: Sajor-Dino/swagger2office ## Basic Information - **Project Name**: swagger2office - **Description**: 一个Swagger API 文档 转 Office 文档(Word、Excel)的工具项目 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-14 - **Last Updated**: 2024-02-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # swagger2office 一个Swagger API 文档 转 Office 文档(Word、Excel)的工具项目 ## 安装 此项目基于Python3,需要先安装好Python3环境 - 克隆项目 - 激活Python3环境,并安装依赖 - python -m pip install -r requirements-3.txt ## 使用方式 在swagger页面导出HTML文件,重命名为swagger.html ![doc/img.png](doc/img.png) 和generator放到同一路径下,执行generator输入文档名和host地址