Is there any option or way of avoiding the usage of Java primitives when generating with RAML to JAX-RS? Specifically I’m using the RAML-to-JAX-RS CLI jar, v.3.0.2.
I would like to use
Integer instead of
Boolean instead of
Is there a flag/option for the jar/generator?
Or should I “shadow” the types in the RAML file to Integer, Boolean, and other Java object names (and create dummy objects named like those)?
If so, how can I make the generated code reference the Java types and not the “dummy” generated ones? I would like a solution that doesn’t involve manually re-setting all references, since this would be needed every time code is generated.