INNER CODE UNIT · Go
main
numaproj/numaflow · hack/json-schema/main.go:35
func main() {
swagger := obj{}
{
f, err := os.Open("api/openapi-spec/swagger.json")
if err != nil {
panic(err)
}
err = json.NewDecoder(f).Decode(&swagger)
if err != nil {
panic(err)
}
}
{
crdKinds := []string{
isbSvcKind,
pipelineKind,
vertexKind,
}