INNER CODE UNIT · Go

main

argoproj/argo-events · hack/jsonschema/main.go:19

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{
			eventBusKind,
			eventSourceKind,
			sensorKind,
		}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…