k3s/hack/gen-swagger-doc
Chao Xu ab740cf93b Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
..
example-output Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
Dockerfile Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
README.md Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
build.gradle Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
gen-swagger-docs.sh Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
run-gen-swagger-docs.sh Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00

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,

$ ./run-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