You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got this output from the generator, but Android Studio complains about external being a keyword in kotlin. Unfortunatelly we have a legacy API and cannot change the field name there.
enum class Type(val value: kotlin.String){
@SerializedName(value="icon") icon("icon"),
@SerializedName(value="external") external("external");
}
macOS, homebrew, openapi-generator 4.2.3
The text was updated successfully, but these errors were encountered:
Follow-up on this issue: open is also a reserved Kotlin keyword. But it is not written in backticks when generating an enum value called "open" so this is still a problem on Generator version 4.3.0.
I got this output from the generator, but Android Studio complains about external being a keyword in kotlin. Unfortunatelly we have a legacy API and cannot change the field name there.
macOS, homebrew, openapi-generator 4.2.3
The text was updated successfully, but these errors were encountered: