Skip to content

Commit f260c71

Browse files
authored
Update ParentWithNullable.java added getValue() to enum
1 parent 9fc2ab4 commit f260c71

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

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

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

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

0 commit comments

Comments
 (0)