Open ktmcgrat opened 6 years ago
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.
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
classduplication.zip
For the complex raml, the Logs class is created 7 times. For simple it is generated 4 times.