forked from loafle/openapi-generator-original
Fix hard-coded constructor name of enum class
in Java okhttp-gson client
This commit is contained in:
@@ -6,7 +6,7 @@ public enum {{datatypeWithEnum}} {
|
||||
|
||||
private String value;
|
||||
|
||||
StatusEnum(String value) {
|
||||
{{datatypeWithEnum}}(String value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user