diff --git a/jsonschema-module-microprofile-openapi-3/src/main/java/com/github/victools/jsonschema/module/microprofile/openapi3/MicroProfileOpenApi3Module.java b/jsonschema-module-microprofile-openapi-3/src/main/java/com/github/victools/jsonschema/module/microprofile/openapi3/MicroProfileOpenApi3Module.java index ab4a3ac0..ca3dde11 100644 --- a/jsonschema-module-microprofile-openapi-3/src/main/java/com/github/victools/jsonschema/module/microprofile/openapi3/MicroProfileOpenApi3Module.java +++ b/jsonschema-module-microprofile-openapi-3/src/main/java/com/github/victools/jsonschema/module/microprofile/openapi3/MicroProfileOpenApi3Module.java @@ -474,7 +474,6 @@ protected void overrideInstanceAttributes(ObjectNode memberAttributes, MemberSco .forEach(allOfArray::add); } if (annotation.anyOf().length > 0) { - // since 4.26.0 ArrayNode allOfArray = memberAttributes.withArray(context.getKeyword(SchemaKeyword.TAG_ALLOF)); ArrayNode anyOfArray = allOfArray.addObject().withArray(context.getKeyword(SchemaKeyword.TAG_ANYOF)); Stream.of(annotation.anyOf()) @@ -483,7 +482,6 @@ protected void overrideInstanceAttributes(ObjectNode memberAttributes, MemberSco .forEach(anyOfArray::add); } if (annotation.oneOf().length > 0) { - // since 4.26.0 ArrayNode allOfArray = memberAttributes.withArray(context.getKeyword(SchemaKeyword.TAG_ALLOF)); ArrayNode oneOfArray = allOfArray.addObject().withArray(context.getKeyword(SchemaKeyword.TAG_ONEOF)); Stream.of(annotation.oneOf())