I'm looking for a tool to generate openAPIV3Schema YAML file like in KRMFunctionDefinition or CustomResourceDefinition.
I was able to generate the openapi_generated.go (GetOpenAPIDefinitions) using openapi-gen CLI tool.
However, it's not clear to me how to generate the actual KFD or CRD YAML out of that :thinking:
Hi :wave:
I'm looking for a tool to generate
openAPIV3Schema
YAML file like inKRMFunctionDefinition
orCustomResourceDefinition
. I was able to generate theopenapi_generated.go
(GetOpenAPIDefinitions) usingopenapi-gen
CLI tool.However, it's not clear to me how to generate the actual KFD or CRD YAML out of that :thinking:
I want to generate something like this: