Migrate Swagger generator script off k8s.io/kube-openapi/pkg/openapiconv
What you would like to be added?
Migrate hack/swagger/main.go (and the similar scripts in kubeflow/spark-operator and kubeflow/katib) to build the OpenAPI v3 spec directly using k8s.io/kube-openapi/pkg/builder3 and pkg/spec3, rather than building a v2 Swagger spec and converting it with openapiconv.ConvertV2ToV3.
Why is this needed?
I am a maintainer for k8s.io/kube-openapi and am planning to deprecate and remove pkg/openapiconv, which was originally added as a temporary fallback for kube-aggregator. Migrating off pkg/openapiconv will prevent future k8s.io/kube-openapi dependency updates from breaking Python SDK generation.
/cc @andreyvelich
🎉 Welcome to the Kubeflow Trainer! 🎉
Thanks for opening your first issue! We're happy to have you as part of our community 🚀
Here's what happens next:
- Our team will review your issue soon! cc @kubeflow/kubeflow-trainer-team
- If you'd like to contribute to this issue, check out our Contributing Guide for repo-specific guidelines and the Kubeflow Contributor Guide for general community standards.
Join the community:
- Slack: Join our #kubeflow-trainer Slack channel.
- Meetings: Attend the Kubeflow AutoML and Training Working Group bi-weekly meetings.
Feel free to ask questions in the comments if you need any help or clarification! Thanks again for contributing to Kubeflow! 🙏
/assign
Thanks for letting us know @Jefftree!
cc @tariq-hasan @kubeflow/kubeflow-sdk-team @Shekharrajak @RobuRishabh we need to do the same for Spark Operator models.
I have raised a similar issue for Spark Operator: https://github.com/kubeflow/spark-operator/issues/3210.
Fixed in: https://github.com/kubeflow/trainer/pull/4126 /close
@andreyvelich: Closing this issue.
In response to this:
Fixed in: https://github.com/kubeflow/trainer/pull/4126 /close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.