k3s/hack/gen-swagger-doc
supereagle 606c32bc92 correct the script name for generating swagger doc 2017-06-09 14:25:32 +08:00
..
example-output
Dockerfile update url information to prevent http 304 redirection 2017-05-25 14:05:02 +08:00
README.md correct the script name for generating swagger doc 2017-06-09 14:25:32 +08:00
build.gradle
gen-swagger-docs.sh

README.md

This folder contains the sources needed to build the gen-swagger-doc container.

To build the container image,

$ sudo docker build -t gcr.io/google_containers/gen-swagger-docs:v1 .

To generate the html docs,

$ ./gen-swagger-docs.sh <API version> <absolute output path, default to PWD>

The generated definitions.html and operations.html will be stored in output paths.

Analytics