Skip to content

Commit 1850c07

Browse files
committed
update samples
1 parent 9f3a73f commit 1850c07

File tree

2 files changed

+2
-2
lines changed
  • samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model

2 files changed

+2
-2
lines changed

samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public enum StatusEnum {
4545

4646
DELIVERED("delivered");
4747

48-
private String value;
48+
private final String value;
4949

5050
StatusEnum(String value) {
5151
this.value = value;

samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public enum StatusEnum {
5151

5252
SOLD("sold");
5353

54-
private String value;
54+
private final String value;
5555

5656
StatusEnum(String value) {
5757
this.value = value;

0 commit comments

Comments
 (0)