kube-openapi-generator

command module
v0.0.0-...-6607d1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

README

kube-openapi-generator

This is now maintained as library https://github.com/appscode/kutil/tree/release-7.0/openapi

Generate swagger.json

$ go install -v
$ kube-openapi-generator > swagger.json

Install swagger-codegen

From https://github.com/swagger-api/swagger-codegen#getting-started :


cd hack
git clone https://github.com/swagger-api/swagger-codegen
cd swagger-codegen
mvn clean package
cd ..

Generate Java client

java -jar ./hack/swagger-codegen/modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
  -i swagger.json \
  -l java \
  -o java-client
Known Issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL