Skip to content

Commit

Permalink
victools#484 removed comments from copy past Swagger2Module
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdh committed Oct 12, 2024
1 parent 84ae819 commit d8450d4
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand All @@ -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())
Expand Down

0 comments on commit d8450d4

Please sign in to comment.