Skip to content
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

Support javaType and existingJavaType extensions in java-generator #5843

Closed
matteriben opened this issue Mar 29, 2024 · 4 comments
Closed

Support javaType and existingJavaType extensions in java-generator #5843

matteriben opened this issue Mar 29, 2024 · 4 comments
Assignees
Milestone

Comments

@matteriben
Copy link
Contributor

Is your enhancement related to a problem? Please describe

I'd like to generate Java classes from CRDs using the java-generator. However, I don't see any way currently reuse an existing class (existingJavaType), or define a shared/common class (javaType) to be used in the generated classes.

Describe the solution you'd like

I'd like something like the javaType and existingJavaType extensions in jsonschema2pojo.

Describe alternatives you've considered

No response

Additional context

No response

@matteriben
Copy link
Contributor Author

I have a branch that implements the requested enhancement. However, I was unable to push it to this repo. So, I forked the repo and pushed it there.

https://github.com/matteriben/kubernetes-client/tree/iss_5843

@andreaTP
Copy link
Member

Please, open a PR to this repo with your changes, it looks promising!
I'll have a closer look early next week 👍

@matteriben
Copy link
Contributor Author

matteriben commented Mar 30, 2024

There is a PR here, thanks!
#5844

@manusa
Copy link
Member

manusa commented Apr 23, 2024

Closed by #5844

@manusa manusa closed this as completed Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants