a docker image to convert swagger yaml to a single html using spectacle.
6.7K
This Dockerfile create a Docker image to convert swagger yaml to html using spectacle.
The docker container which is run from this image convert the swagger 2.0 yaml file to a single html file using below:
Pull nmatsui/swagger2spectacle from DockerHub:
docker pull nmatsui/swagger2spectacle
Or build nmatsui/swagger2spectacle from Dockerfile:
git clone https://github.com/nmatsui/swagger2spectacle.git
cd swagger2spectacle
docker build -t nmatsui/swagger2spectacle .
In the directory of swagger file, run this image with mounting current directory and with swagger filename as a command argument:
docker run --rm --volume $(pwd):/mnt nmatsui/swagger2spectacle swagger_filename.yaml
Copyright (c) 2018 Nobuyuki Matsui [email protected]
Content type
Image
Digest
Size
53.4 MB
Last updated
over 8 years ago
docker pull nmatsui/swagger2spectacle