We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b91c4a commit 2aebaa6Copy full SHA for 2aebaa6
src/testInt/resources/tests/params-enum/outputs/model/default/Foo.java
@@ -3,9 +3,10 @@
3
import com.fasterxml.jackson.annotation.JsonCreator;
4
import com.fasterxml.jackson.annotation.JsonValue;
5
import generated.support.Generated;
6
+import java.util.function.Supplier;
7
8
@Generated(value = "openapi-processor-spring", version = "test")
-public enum Foo {
9
+public enum Foo implements Supplier<String> {
10
FOO("foo"),
11
FOO_2("foo-2"),
12
FOO_FOO("foo-foo");
@@ -17,7 +18,7 @@ public enum Foo {
17
18
}
19
20
@JsonValue
- public String getValue() {
21
+ public String get() {
22
return this.value;
23
24
0 commit comments