Run Swagger Editor Locally 

Running with Docker

docker pull swaggerapi/swagger-editor
docker run -p 80:8080 swaggerapi/swagger-editor

Using http-server module

npm install -g http-server
wget https://github.com/swagger-api/swagger-editor/releases/download/v2.10.4/swagger-editor.zip
unzip swagger-editor.zip
http-server swagger-editor

Building From Source

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

References: