1. github上下載好Swagger-ui和Swagger-edit文件
https://github.com/swagger-api/swagger-ui
https://github.com/swagger-api/swagger-editor
2. 在本地解壓
3. 下載好node以及npm,在cmd中確認下載成功
4. 進入node下載目錄,輸入:npm install -g http-server
5. 在環境變量path中增加這兩項(新安裝的http-server在node_cache目錄中)
6. 進入Swagger-ui頁面
瀏覽器搜索:http://127.0.0.1:8080/dist/index.html
7. 進入Swagger-edit頁面
瀏覽器輸入: