@@ -402,7 +402,6 @@ internal void Walk(OpenApiCallback callback, bool isComponent = false)
402
402
if ( callback is OpenApiCallbackReference )
403
403
{
404
404
Walk ( callback as IOpenApiReferenceable ) ;
405
- callback . Reference . HostDocument = _currentDocument ;
406
405
return ;
407
406
}
408
407
@@ -433,7 +432,6 @@ internal void Walk(OpenApiTag tag)
433
432
if ( tag is OpenApiTagReference )
434
433
{
435
434
Walk ( tag as IOpenApiReferenceable ) ;
436
- tag . Reference . HostDocument = _currentDocument ;
437
435
return ;
438
436
}
439
437
@@ -507,7 +505,6 @@ internal void Walk(OpenApiPathItem pathItem, bool isComponent = false)
507
505
if ( pathItem is OpenApiPathItemReference )
508
506
{
509
507
Walk ( pathItem as IOpenApiReferenceable ) ;
510
- pathItem . Reference . HostDocument = _currentDocument ;
511
508
return ;
512
509
}
513
510
@@ -631,7 +628,6 @@ internal void Walk(OpenApiParameter parameter, bool isComponent = false)
631
628
if ( parameter is OpenApiParameterReference )
632
629
{
633
630
Walk ( parameter as IOpenApiReferenceable ) ;
634
- parameter . Reference . HostDocument = _currentDocument ;
635
631
return ;
636
632
}
637
633
@@ -680,7 +676,6 @@ internal void Walk(OpenApiResponse response, bool isComponent = false)
680
676
if ( response is OpenApiResponseReference )
681
677
{
682
678
Walk ( response as IOpenApiReferenceable ) ;
683
- response . Reference . HostDocument = _currentDocument ;
684
679
return ;
685
680
}
686
681
@@ -704,7 +699,6 @@ internal void Walk(OpenApiRequestBody requestBody, bool isComponent = false)
704
699
if ( requestBody is OpenApiRequestBodyReference )
705
700
{
706
701
Walk ( requestBody as IOpenApiReferenceable ) ;
707
- requestBody . Reference . HostDocument = _currentDocument ;
708
702
return ;
709
703
}
710
704
@@ -988,7 +982,6 @@ internal void Walk(OpenApiExample example, bool isComponent = false)
988
982
if ( example is OpenApiExampleReference )
989
983
{
990
984
Walk ( example as IOpenApiReferenceable ) ;
991
- example . Reference . HostDocument = _currentDocument ;
992
985
return ;
993
986
}
994
987
@@ -1101,7 +1094,6 @@ internal void Walk(OpenApiLink link, bool isComponent = false)
1101
1094
if ( link is OpenApiLinkReference )
1102
1095
{
1103
1096
Walk ( link as IOpenApiReferenceable ) ;
1104
- link . Reference . HostDocument = _currentDocument ;
1105
1097
return ;
1106
1098
}
1107
1099
@@ -1123,7 +1115,6 @@ internal void Walk(OpenApiHeader header, bool isComponent = false)
1123
1115
if ( header is OpenApiHeaderReference )
1124
1116
{
1125
1117
Walk ( header as IOpenApiReferenceable ) ;
1126
- header . Reference . HostDocument = _currentDocument ;
1127
1118
return ;
1128
1119
}
1129
1120
@@ -1167,7 +1158,6 @@ internal void Walk(OpenApiSecurityScheme securityScheme, bool isComponent = fals
1167
1158
if ( securityScheme is OpenApiSecuritySchemeReference )
1168
1159
{
1169
1160
Walk ( securityScheme as IOpenApiReferenceable ) ;
1170
- securityScheme . Reference . HostDocument = _currentDocument ;
1171
1161
return ;
1172
1162
}
1173
1163
0 commit comments