Skip to content

Commit 5ea8f73

Browse files
committed
1 parent 87c1f9b commit 5ea8f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openapi-processor-core/src/test/groovy/com/github/hauner/openapi/core/writer/java/StringEnumWriterSpec.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public enum $type {
7070
}
7171

7272
void "writes Supplier import" () {
73-
options.enumType = "supplier"
73+
options.enumType = "framework"
7474

7575
def dataType = new StringEnumDataType(
7676
new DataTypeName('Foo'), 'pkg', [], null, false)
@@ -85,7 +85,7 @@ import java.util.function.Supplier;
8585
}
8686

8787
void "writes enum class implementing Supplier<String>"() {
88-
options.enumType = "supplier"
88+
options.enumType = "framework"
8989

9090
def pkg = 'com.github.hauner.openapi'
9191
def dataType = new StringEnumDataType(
@@ -185,7 +185,7 @@ public enum Foo {
185185
}
186186

187187
void "writes @JsonValue & Supplier<> method for serialization"() {
188-
options.enumType = "supplier"
188+
options.enumType = "framework"
189189

190190
def pkg = 'com.github.hauner.openapi'
191191
def dataType = new StringEnumDataType (

0 commit comments

Comments
 (0)