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.