Categorygithub.com/wujunwei/crd2openapi
modulepackage
1.0.0
Repository: https://github.com/wujunwei/crd2openapi.git
Documentation: pkg.go.dev

# README

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.

todo

  • support openapi style json.
  • support Built-in swagger server.
  • support post-render.

# Packages

No description provided by the author