# swagger-to-doc-master **Repository Path**: gcp-cfj/swagger-to-doc-master ## Basic Information - **Project Name**: swagger-to-doc-master - **Description**: swagger接口文档生成 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-12-29 - **Last Updated**: 2023-07-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 使用步骤(Google Chrome) 1. 启动工程,访问地址: http://127.0.0.1:8080/swagger-ui.html 2. swagger2Word 提供了多种方式生成 word 文档,可以通过 swagger json 的资源地址,例如:https://petstore.swagger.io/v2/swagger.json ;可以通过上传 json 文件;甚至可以直接输入 json 字符串。 ![Image text](./swagger2word.jpg) 3. 生成的 WORD 示例: ![Image text](./swagger返回值示例.png)


# 源码请参见 https://github.com/JMCuixy/swagger2word [https://github.com/JMCuixy/swagger2word](https://github.com/JMCuixy/swagger2word)