raml-java-client-generator
raml-java-client-generator copied to clipboard
Java Class duplication among sub types
Describe the bug Java Classes are duplicated for sub types
To Reproduce Steps to reproduce the behavior:
generate java classes from ramls in the attached zip, for the complex.raml and the simple.raml, both generate duplicates of the Log class.
Expected behavior The Log class should have been generated once.
** version tested ** f9575cf
Additional context attached zip of ramls
For the complex raml, the Logs class is created 7 times. For simple it is generated 4 times.
Hello, +1 on this.
I have a RAML api definition from which I generate pojos.
But there is a type that is reused across the spec end up being duplicated in multiple different classes (suffixed by __1, __2, __3).
Unfortunately, this limitation is a blocker for me.