ceph-csi/vendor/k8s.io/kubernetes/hack/gen-swagger-doc/README.md

19 lines
490 B
Markdown
Raw Normal View History

2018-01-09 18:57:14 +00:00
This folder contains the sources needed to build the gen-swagger-doc container.
To build the container image,
```
2018-03-06 22:33:18 +00:00
$ sudo docker build -t k8s.gcr.io/gen-swagger-docs:v1 .
2018-01-09 18:57:14 +00:00
```
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](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/hack/gen-swagger-doc/README.md?pixel)]()