美文网首页
swagger2 导出api为html和word文档

swagger2 导出api为html和word文档

作者: 进击的小鹿 | 来源:发表于2021-08-11 14:06 被阅读0次

(mark)这次导出主要是使用了一个工具吧。
详情见:https://github.com/JMCuixy/swagger2word

步骤记录:
1、下载该项目 git clone https://github.com/JMCuixy/swagger2word.git
2、启动该swagger2word项目,成功后,进入http://localhost:8080/swagger-ui.html
3、找到自己要转的swagger json(可以是自己项目的文档json) ,选择“the toword api”,如下图

toword api
4、“try it out!”即开始转行,转成功的话,点击带有download的链接,下载即可
下载

相关文章

网友评论

      本文标题:swagger2 导出api为html和word文档

      本文链接:https://www.haomeiwen.com/subject/dhhcbltx.html