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