首先要安裝node
$ git clone https://github.com/swagger-api/swagger-editor.git
$ cd swagger-editor
Start on Mac and Linux:
$ npm start
Start on Windows:
$ npm install -g bower grunt-cli
$ npm install
$ bower install
$ grunt serve
參考網址:
- 連結(http://pythonhackers.com/p/sethathi/swagger-editor)