Sign inSign up

nmatsui/swagger2spectacle

By nmatsui

•Updated over 8 years ago

a docker image to convert swagger yaml to a single html using spectacle.

Image
0

6.7K

nmatsui/swagger2spectacle repository overview

⁠swagger2spectacle

This Dockerfile create a Docker⁠ image to convert swagger yaml to html using spectacle⁠.

DockerHub Status

⁠Description

The docker container which is run from this image convert the swagger 2.0 yaml file to a single html file using below:

⁠Install

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 .

⁠Usage

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

⁠License

MIT License⁠

Copyright (c) 2018 Nobuyuki Matsui [email protected]⁠

Tag summary

Content type

Image

Digest

Size

53.4 MB

Last updated

over 8 years ago

docker pull nmatsui/swagger2spectacle