使用swagger editor:

git clone https://github.com/swagger-api/swagger-editor.git
cd swagger-editor
npm start