Sign inSign up

hawkci/swaggen

By hawkci

•Updated about 6 years ago

Fully customisable unofficial Docker image for SwagGen that support Swift slim images

Image
1

867

hawkci/swaggen repository overview

⁠swaggen-docker

Unofficial Docker image for SwagGen⁠

Docker: https://hub.docker.com/r/hawkci/swaggen⁠ Github: https://github.com/mackoj/swaggen-docker⁠

⁠Available Tags

⁠Usage

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

Tag summary

Content type

Image

Digest

Size

80.6 MB

Last updated

about 6 years ago

docker pull hawkci/swaggen