Skip to content

Commit e5a4ef3

Browse files
committed
Fix hard-coded constructor name of enum class
in Java okhttp-gson client
1 parent 0380fc5 commit e5a4ef3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/enumClass.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public enum {{datatypeWithEnum}} {
66

77
private String value;
88

9-
StatusEnum(String value) {
9+
{{datatypeWithEnum}}(String value) {
1010
this.value = value;
1111
}
1212

0 commit comments

Comments
 (0)