Skip to content

xingwu1/swagger-editor

 
 

Repository files navigation

Swagger Editor

Build Status Code Climate

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).

LIVE DEMO

Screenshot of the Swagger Editor

Running Locally

Download the latest release (v2.9.6) 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.9.6/swagger-editor.zip
unzip swagger-editor.zip
http-server dist

Building From Source

Make sure you have Node.js installed.

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

Documentations

Contributing

LICENSE

Packages

No packages published

Languages

  • JavaScript 65.4%
  • HTML 17.7%
  • CSS 16.9%