openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[REQ] Option to disable stripping of common enum prefix

Open jvs64893 opened this issue 7 years ago • 3 comments

Is your feature request related to a problem? Please describe.

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.

Describe the solution you'd like

There should be an option to disable this behavior.

jvs64893 avatar Apr 08 '19 14:04 jvs64893

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.

jkuipers avatar Jul 04 '19 08:07 jkuipers

I encountered this also and am going to try to address it.

johnflanigan avatar Jan 30 '20 20:01 johnflanigan

Lead also to major trouble for us and broke deserialization. Seriously, WHY?

spyro2000 avatar Jan 19 '24 08:01 spyro2000