Skip to content

kubeflow-incubator/genspec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Deprecated! Temporary Code for Specification Generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages