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

OpenAPI: replace snake_cased variables #6406

Open
manusa opened this issue Oct 2, 2024 · 2 comments
Open

OpenAPI: replace snake_cased variables #6406

manusa opened this issue Oct 2, 2024 · 2 comments
Labels
component/kubernetes-model Deals with the kubernetes-model

Comments

@manusa
Copy link
Member

manusa commented Oct 2, 2024

Description

Part of #6130

While implementing the new OpenAPI to Java generator plugin, there are some variables that are now in snake case.

Check kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1/TuneDConfig.java as an example.

These variables should be in camel case instead.

@manusa manusa added the component/kubernetes-model Deals with the kubernetes-model label Oct 2, 2024
@vaidikcode
Copy link

@manusa I thoroughly checked the kubernetes-model-generator/openshift-model-tuned/src/generated/java/io/fabric8/openshift/api/model/tuned/v1 directory and found only one variable using snake casing. Are there any others files I should look out for?

@manusa
Copy link
Member Author

manusa commented Oct 28, 2024

That's generated code, what needs to be tuned is the generator.

Note that this is not an easy task and there's a lot of activity at the moment with the generator (#6130).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/kubernetes-model Deals with the kubernetes-model
Projects
None yet
Development

No branches or pull requests

2 participants