-
|
In our application we use CRD -> Java POJO. In my CRD i have a field protocol:
description: "Protocol specifies the network protocol this ingress expects to receive."
type: string
enum: ["TCP", "TLS"]
I tried an <existingJavaTypes>
<io.kroxylicious.kubernetes.api.v1alpha1.kafkaproxyingressspec.ClusterIP.Protocol>
io.kroxylicious.kubernetes.api.common.Protocol
</io.kroxylicious.kubernetes.api.v1alpha1.kafkaproxyingressspec.ClusterIP.Protocol>
</existingJavaTypes>I debugged the java-generator-maven-plugin and I see that io.fabric8.java.generator.nodes.JEnum#generateJava doesn't even consider the possibility that the type might have been defined as an existingJavaTypes. Am I missing something? I'm inexperienced with java-generator-maven-plugin so I could be on the wrong track. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi @k-wall 👋 ! Do you want to take a stab at it? |
Beta Was this translation helpful? Give feedback.
-
|
This is fixed, since some time now, in |
Beta Was this translation helpful? Give feedback.
This is fixed, since some time now, in
main