Fully customisable unofficial Docker image for SwagGen that support Swift slim images
867
Unofficial Docker image for SwagGen
Docker: https://hub.docker.com/r/hawkci/swaggen Github: https://github.com/mackoj/swaggen-docker
4.3.1-slim(swift-5.1.4-RELEASE), latest (Dockerfile)4.3.0-slim(swift-5.1.3-RELEASE), latest (Dockerfile)4.2.0-slim, latest (Dockerfile)4.2.0 (Dockerfile)# Pull this image
docker pull hawkci/swaggen
# Run swaggen
# - This assumes your spec file is in $(pwd)/spec.json
# - Generated code will be available in $(pwd)/swaggen-output
docker run \
--rm \
-v "$(pwd):/tmp/workdir" \
hawkci/swaggen \
swaggen generate \
/tmp/workdir/spec.json \
--destination /tmp/workdir/swaggen-output
The project is a fork of mithun(swaggen-docker) without his orignal project I wouldn't be able to build this.
Content type
Image
Digest
Size
80.6 MB
Last updated
about 6 years ago
docker pull hawkci/swaggen