0
点赞
收藏
分享

微信扫一扫

golang使用swagger-ui(windows安装)

1.安装swagger

1.1安装node.js

因为swagger是node写的,所以依赖node

​​下载链接​​

测试安装成功

golang使用swagger-ui(windows安装)_node.js

1.2node中安装http-server

golang使用swagger-ui(windows安装)_node.js_02

2.swagger editor下载及启动

​​下载链接​​

2.1下载

golang使用swagger-ui(windows安装)_json_03

2.2启动

golang使用swagger-ui(windows安装)_json_04

3.使用

上述界面左边复制swagger.json文件,右边可以展示对应的接口文档

举报

相关推荐

0 条评论