swagger-editor-xl
v2.10.4
Published
Swagger Editor
Downloads
4
Readme
Swagger Editor
Swagger Editor lets you edit Swagger API specifications in YAML inside your browser and to preview documentations in real time. Valid Swagger JSON descriptions can then be generated and used with the full Swagger tooling (code generation, documentation, etc).
Running with Docker
The swagger-editor is published in a public repository on Dockerhub
You can run editor easily with docker:
docker pull swaggerapi/swagger-editor
docker run -p 80:8080 swaggerapi/swagger-editor
Running Locally
Download the latest release (v2.10.4) and serve the static files via your HTTP server. If you don't have an HTTP server, you can use http-server
Node.js module.
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
Make sure you have Node.js installed.
git clone https://github.com/swagger-api/swagger-editor.git
cd swagger-editor
npm install
npm start
Documentations
- Importing your Swagger document
- Development Guide
- Configuration Guide
- Cross Origin Request Sharing(CORS) issues