genspec

command module
v0.0.0-...-284555c Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

genspec

Build Status

This tool is used for generating OpenAPI specification swagger.json for Kubeflow/tf-operator. The specification includes model definitions and routing information, which is necessary to generate client libraries.

Installation

$ go install github.com/kubeflow-incubator/genspec

Generate Swagger

$ genspec --output swagger.json

Complete usage:

$ genspec --help
Generate OpenAPI specification for TFJob

Usage:
  genspec [flags]

Flags:
  -h, --help            help for genspec
      --output string   Path to write OpenAPI spec file (default "swagger.json")

Acknowledgements

This work is inspired by tamalsaha/kube-openapi-generator.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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