This is related to the following issue:
swagger-api/swagger-codegen-generators#246
If you have Enums with a common prefix this is currently stripped and there is no way to stop the generator from doing so.
There should be an option to disable this behavior.
I'm amazed that this hasn't been fixed yet: this "feature" is completely unwanted, and should at the least be optional (it should be disabled by default).
It would be nice to get an update here on a) whether this will be addressed and b) if so, when a release containing the fix will be available.
I encountered this also and am going to try to address it.
Most helpful comment
I'm amazed that this hasn't been fixed yet: this "feature" is completely unwanted, and should at the least be optional (it should be disabled by default).
It would be nice to get an update here on a) whether this will be addressed and b) if so, when a release containing the fix will be available.