-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EPIC] Model Generation using OpenAPI #6130
Labels
component/kubernetes-model
Deals with the kubernetes-model
Milestone
Comments
This was referenced Jul 12, 2024
Closed
This was referenced Jul 19, 2024
This was referenced Jul 22, 2024
This was referenced Sep 2, 2024
This was referenced Sep 10, 2024
This was referenced Sep 20, 2024
This was referenced Sep 30, 2024
This was referenced Oct 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The current approach to model generation is slow and very hard and time consuming to maintain.
In addition, the current models lack Javadoc, which even if we have a fluent builder API, it's still a disadvantage from a UX perspective.
This contrasts very much with alternative approaches such as the one taken on YAKC where the complete generation for the Kubernetes models, OpenShift models, and a few extensions takes less than a minute.
Let's borrow some of the knowledge from the YAKC project and refactor our generation strategy.
Tasks
OpenAPI: Investigate kubernetes model code generation #6080
OpenAPI: Go to OpenAPI/Swagger generator #6131
feat(openapi): openapi generation from CRD definitions #6393
OpenAPI: openapi-model-generator-maven-plugin to generate Java types from OpenAPI schemas #6135
Usage of KubernetesResource in models creates massive builder classes #6332
Adapt CRD Generator v2 to new approach to KubernetesResource #6335
Remove unneeded dependency declarations in kubernetes-model-generator #6327
✅ Replace generation for Kubernetes module types
✅ Replace generation for OpenShift module types
Replace generation for extension types
Remove
.json
files (kube-schema.json
,validation-schema.json
,$$$extension.json
)Analyze Reflection-free deserializer implementations
OpenAPI: replace snake_cased variables #6406
OpenAPI: Add missing buildable references #6451
OpenAPI: Validation schemas #6145
The text was updated successfully, but these errors were encountered: