node运行swagger-editor
(1)下载 https://github.com/swagger-api/swagger-editor/releases/download/v2.10.4/swagger-editor.zip。我在资源中已经提供。
(2)解压swagger-editor
(3)全局安装http-server(http-server是一个简单的零配置命令行http服务器)
npm install ‐g http‐server
(4)启动swagger-editor
http‐server swagger‐editor
(5)浏览器打开: http://localhost:8080
来源:51CTO技术博客 https://blog.51cto.com/u_7692005/2985784
页:
[1]