Skip to content

Commit 20a28b0

Browse files
committed
Avoid use of deprecated example property in test case
Signed-off-by: Michael Edgar <[email protected]>
1 parent ba97af3 commit 20a28b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/test/java/io/smallrye/openapi/runtime/scanner/StandaloneSchemaScanTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ void testKotlinNullableSetNonNullable() throws IOException, JSONException {
903903
@JsonInclude(JsonInclude.Include.NON_EMPTY)
904904
@Schema
905905
final class Bean {
906-
@Schema(required = false, description = "Any description", nullable = false, example = "3072")
906+
@Schema(required = false, description = "Any description", nullable = false, examples = "3072")
907907
@org.jetbrains.annotations.Nullable
908908
private final Long amount;
909909

0 commit comments

Comments
 (0)