Open ivanvasheka-intellias opened 1 year ago
Any workaround for this? Or any expectation if this will be fixed?
This also can be reproduced with this openapi file: https://api-docs.jrni.com/v5/swagger/admin.json
(also with openapi-generator 7.2.0 version)
Still happening with 7.5.0
Still happening with 7.9.0
openapi-generator version
6.3.0
Source json
Generation code
Generated code has type String in the declaration (
enum class TypeIDs(val value: kotlin.String)
), however every entry is populated with an Int value (ex._0(0)
, and not_0("0")
), which results into a compilation error.