Publish your RAML documentation with a web application running on Node.js : api:Console
10K+
A Docker image to run the api:Console for your REST API documentation with RAML.
docker pull slecache/api-console
docker build -t slecache/api-console .
Your can start your free demo server for 2 hours by clicking on the following button:
docker run -p 9000:9000 -d slecache/api-console
Then, access it via http://localhost:9000 in a browser.
Your main RAML file MUST be named main.raml.
docker run -v /your_local_folder_where_are_your_raml_files:/data/dist/apis --name DATA busybox true
docker run --volumes-from DATA -p 9000:9000 -p 35729:35729 -d slecache/api-console
Please note that the live reload is activated. The edition of any files in your folder will provoke the auto-reloading of your api:Console in your browser.
At the root of your RAML documentation folder where the main.raml MUST be present, create the following Dockerfile:
FROM slecache/api-console
Then, run the build command :
docker build -t your_image_name .
All yours documentations files will be copied in the /data/dist/apis of the Docker Image.
Issues
If you have any problems with or questions about this image, please contact us through a GitHub issue.
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)Content type
Image
Digest
sha256:a7335659e…
Size
53.6 MB
Last updated
almost 9 years ago
docker pull slecache/api-console