Swagger Editor offline installation

With one command with npm/npx:

npx swagger-editor-binary

npm is not required, you can download the compiled files from the Swagger Editor repository:

  • index.html
  • dist\*

and open index.html locally (from the file system) or put the files onto a web server in your network.


In short answer is https://swagger.io/docs/swagger-tools/#swagger-editor

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

And it will works in your Intranet OK.