1 Star 21 Fork 17

zhexiao / postmanToWord

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

postmanToWord

很懒,不喜欢写接口文档。现在开发用的是postman调接口,所以就开发这个工具方便大家快速的把postman导出的json转成标准的接口文档。 :laughing: :laughing:

Build Status codecov java

postman

Postman导出Collection v2.1类型的JSON文件转为WORD标准接口文档

操作流程

  1. postman请求接口并保存返回结果为一个example

Image text

  1. 为example命令,一般一个成功的返回和一个失败的返回即可

Image text

  1. 导出这个接口所属的Collection

Image text

  1. 导出v2.1版本

Image text

  1. 运行这个项目,并调用convert接口把json转换成word接口文档

Image text

  1. 调用convert接口会返回一个对象,核心请求数据在visitPath

Image text

  1. 打开visitPath链接地址,会下载一个接口文档word

Image text

核心自定义配置

application.yml

app:
  fileDest: "F:/workspace/postmanToWord/uploads"
  filePathRoute: "/uploads/" # 上传的访问地址
  fileVisitHost: "http://localhost:8888" # 上传的文件地址访问主机名

空文件

简介

Postman导出Collection v2.1类型的JSON文件转为WORD标准接口文档。WORD库基于builder模式编写,扩展性很强。 展开 收起
Java
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/zhexiao/postman-to-word.git
git@gitee.com:zhexiao/postman-to-word.git
zhexiao
postman-to-word
postmanToWord
master

搜索帮助