Skip to content
This repository was archived by the owner on Dec 19, 2022. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 482 Bytes

File metadata and controls

19 lines (14 loc) · 482 Bytes

SwaggerUI Export

This Docker image is used to generate a static SwaggerUI which contains the swagger specification file as part of the hosted file collection.

After modifying the swaggerUI constructor all files are zipped and exported to

    /app/outdir/apidoc.zip

Usage

docker run --rm \
    -v "<SwaggerSpecFileDir>:/app/indir" \
    -v "<DocOutput>:/app/outdir" \
    -e SWAGGER_JSON=/app/indir/<SwaggerSpecFile> \
    codeontap/swaggerui-export