From 1850c079513b3cb7ec66c36e8bf15d37dcba06a7 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Sun, 27 Apr 2025 00:16:39 +0800 Subject: [PATCH] update samples --- .../src/main/java/org/openapitools/model/Order.java | 2 +- .../src/main/java/org/openapitools/model/Pet.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Order.java index 72ad748e48a..c0b05835f45 100644 --- a/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Order.java @@ -45,7 +45,7 @@ public class Order { DELIVERED("delivered"); - private String value; + private final String value; StatusEnum(String value) { this.value = value; diff --git a/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Pet.java index fb814bbb808..c9a1c172998 100644 --- a/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-petstore-with-api-response-examples/src/main/java/org/openapitools/model/Pet.java @@ -51,7 +51,7 @@ public class Pet { SOLD("sold"); - private String value; + private final String value; StatusEnum(String value) { this.value = value;