Swagger Editor app, for both 2.0 and 1.2 specs
2.0K
The Swagger Editor team has accepted the pull request...
https://github.com/swagger-api/swagger-editor/blob/master/Dockerfile
You can now directly build the latest Swagger Editor from the source!!!
This Docker Image will NOT be maintained anymore. See how you you can build the latest version from source below.
Follow the steps below:
This container is helpful for those who does API-first design with Swagger. The current project is hosted at https://github.com/wordnik/swagger-editor and features Swagger Spec 2.0. The live demo is running at http://editor.swagger.wordnik.com/.
Built from the current version of https://github.com/wordnik/swagger-editor.
$ sudo docker run -ti -p 80:9000 marcellodesales/swagger-editor
or using the "2.0-spec" tag:
$ sudo docker run -ti -p 80:9000 marcellodesales/swagger-editor:2.0-spec

Swagger Editor for Spec 1.2, which is not officially maintained anymore. This is a fork from the original release, which does not exist anymore. https://github.com/marcellodesales/swagger-editor/tree/release/editor-swagger-1.2. This is not being maintained anymore.
$ sudo docker run -ti -p 80:9000 marcellodesales/swagger-editor:1.2-spec
Adjust the container's properties as you like. You can also override the runtime volume with your local source-code changes. However, you need to provide all the dependencies built locally before using.
$ sudo docker run -ti -p 80:9000 -v /home/marcellodesales/dev/github/swagger-editor/:/runtime marcellodesales/swagger-editor:1.2-spec
Running "serve" task
Running "clean:server" (clean) task
Running "bowerInstall:app" (bowerInstall) task
markdown was not injected in your file.
Please go take a look in "app/bower_components/markdown" for the file you need, then manually include it in your file.
Running "bowerInstall:sass" (bowerInstall) task
markdown was not injected in your file.
Please go take a look in "app/bower_components/markdown" for the file you need, then manually include it in your file.
Running "concurrent:server" (concurrent) task
Running "compass:server" (compass) task
directory .tmp/styles
write .tmp/styles/editor.css (0.006s)
write .tmp/styles/errorMsg.css (0.005s)
Done, without errors.
Execution Time (2014-09-22 05:11:20 UTC)
compass:server 853ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 100%
Total 856ms
Running "autoprefixer:dist" (autoprefixer) task
Running "connect:livereload" (connect) task
Started connect web server on 0.0.0.0:9000.
Running "watch" task
Content type
Image
Digest
sha256:e87710ddb…
Size
421.2 MB
Last updated
almost 11 years ago
docker pull marcellodesales/swagger-editor