Hi folks, I've been trying to generate the OpenAPI spec for the CRDs that I have defined in my cluster. I have used the kubernetes/kube-openapi generator to produce the OpenAPI definitions I need for my types, and have been playing with code in k8s.io/kube-openapi/pkg/builder/openapi_test.go to see if I could turn that into the json I require. This has made me realise that I need the ws.Route information for each endpoint as well of course.
My questions are: - Is it possible to build the standard go-restful Routes for a CRD type? Could someone point me at the code? - Am I overcomplicating things?... Is there another way to get the swagger spec for CRD types? Thanks, Mark -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.