Compose Registry
Disclaimer: This is a work in progress and software is still in alpha stage.
Running the server
To run the server, run:
docker run --rm \
--name compose-registry \
--volume $(pwd)/demo-projects/:/projects/:ro \
--publish 8080:8080 \
--read-only \
francescou/compose-registry:0.2
To view the Swagger UI interface:
open http://localhost:8080/docs
Overview
This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
How to generate a python (Flask) server
docker run --rm \
-v $(pwd)/python-flask/:/output/ \
-v $(pwd)/api/:/data/:ro \
swaggerapi/swagger-codegen-cli \
generate -l python-flask -i /data/swagger.yaml -o /output/
documentation to generate a server stub for a couple different frameworks: Server stub generator HOWTO
On this page
Languages
JavaScript100.0%
Contributors
MIT License
Created August 25, 2017
Updated October 24, 2017