Openapi-generator: [REQ] Option to disable stripping of common enum prefix

Created on 8 Apr 2019  路  2Comments  路  Source: OpenAPITools/openapi-generator

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.

Feature

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.

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings