Skip to content

Commit 2aebaa6

Browse files
committed
#198, fix expected output
1 parent 5b91c4a commit 2aebaa6

File tree

1 file changed

+3
-2
lines changed
  • src/testInt/resources/tests/params-enum/outputs/model/default

1 file changed

+3
-2
lines changed

src/testInt/resources/tests/params-enum/outputs/model/default/Foo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
import com.fasterxml.jackson.annotation.JsonCreator;
44
import com.fasterxml.jackson.annotation.JsonValue;
55
import generated.support.Generated;
6+
import java.util.function.Supplier;
67

78
@Generated(value = "openapi-processor-spring", version = "test")
8-
public enum Foo {
9+
public enum Foo implements Supplier<String> {
910
FOO("foo"),
1011
FOO_2("foo-2"),
1112
FOO_FOO("foo-foo");
@@ -17,7 +18,7 @@ public enum Foo {
1718
}
1819

1920
@JsonValue
20-
public String getValue() {
21+
public String get() {
2122
return this.value;
2223
}
2324

0 commit comments

Comments
 (0)