Skip to content

Commit ce237e1

Browse files
authored
Update ParentWithNullable.java added getValue() to enum
1 parent d6355af commit ce237e1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

samples/server/petstore/jaxrs-jersey/src/gen/java/org/openapitools/model/ParentWithNullable.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,12 @@ public enum TypeEnum {
5151
this.value = value;
5252
}
5353

54-
@Override
5554
@JsonValue
55+
public String getValue() {
56+
return value;
57+
}
58+
59+
@Override
5660
public String toString() {
5761
return String.valueOf(value);
5862
}

0 commit comments

Comments
 (0)