Skip to content

Commit

Permalink
Merge pull request #2113 from microsoft/fix/do-not-copy-document
Browse files Browse the repository at this point in the history
fix: do not copy host document as it negatively impact performance
  • Loading branch information
baywet authored Feb 4, 2025
2 parents 9e1cd20 + a46e857 commit 1043e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Models/OpenApiReference.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public OpenApiReference(OpenApiReference reference)
ExternalResource = reference?.ExternalResource;
Type = reference?.Type;
Id = reference?.Id;
HostDocument = new(reference?.HostDocument);
HostDocument = reference?.HostDocument;
}

/// <summary>
Expand Down

0 comments on commit 1043e4e

Please sign in to comment.