Skip to content

Commit 59b104b

Browse files
committed
oas 3.1 dereference - remove anchor merge
1 parent 5e13ee5 commit 59b104b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

modules/swagger-parser-v3/src/main/java/io/swagger/v3/parser/reference/OpenAPI31Traverser.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,9 +1056,6 @@ public void mergeSchemas(Schema source, Schema target) {
10561056
if (source.getMaxLength() != null){
10571057
target.setMaxLength(source.getMaxLength());
10581058
}
1059-
if (source.get$anchor() != null){
1060-
target.set$anchor(source.get$anchor());
1061-
}
10621059
if (source.get$comment() != null){
10631060
target.set$comment(source.get$comment());
10641061
}

0 commit comments

Comments
 (0)