Categorygithub.com/lprashanthgowda/kube-crd2openapi
modulepackage
1.0.0-beta
Repository: https://github.com/lprashanthgowda/kube-crd2openapi.git
Documentation: pkg.go.dev

# README

kube-crd2openapi

A tool for converting CRD (Custom Resource Definition) to open api json

support flags

nameshorttypedefaultusage
filefstring- (stdout)filename or path to the CRD to be converted.
outputostring- (stdout)out openapi json file.
prettypbooltrueprint the json pretty.
titletstringempty stringthe tile of the swagger json.
indentIint4the indent of json line , only enable when pretty is true.
versionvstring1.0.0the version of the swagger json.
descriptiondstringkubernetes crd docthe description of the swagger json.

# Packages

No description provided by the author