fabric8io / kubernetes-client

Java client for Kubernetes & OpenShift
http://fabric8.io
Apache License 2.0
3.42k stars 1.46k forks source link

OpenAPI: replace snake_cased variables #6406

Open manusa opened 1 month ago

manusa commented 1 month ago

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.

vaidikcode commented 3 weeks ago

@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 commented 3 weeks ago

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).