File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/Microsoft.OpenApi/Models Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 88using System . Security . Cryptography ;
99using System . Text ;
1010using Microsoft . OpenApi . Exceptions ;
11+ using Microsoft . OpenApi . Helpers ;
1112using Microsoft . OpenApi . Interfaces ;
1213using Microsoft . OpenApi . Services ;
1314using Microsoft . OpenApi . Writers ;
@@ -88,7 +89,7 @@ public OpenApiDocument(OpenApiDocument document)
8889 SecurityRequirements = document ? . SecurityRequirements != null ? new List < OpenApiSecurityRequirement > ( document . SecurityRequirements ) : null ;
8990 Tags = document ? . Tags != null ? new List < OpenApiTag > ( document . Tags ) : null ;
9091 ExternalDocs = document ? . ExternalDocs != null ? new ( document ? . ExternalDocs ) : null ;
91- Extensions = document ? . Extensions != null ? new Dictionary < string , IOpenApiExtension > ( document . Extensions ) : null ;
92+ Extensions = document ? . Extensions != null ? DictionaryCloneHelper . Clone ( document . Extensions ) : null ;
9293 }
9394
9495 /// <summary>
You can’t perform that action at this time.
0 commit comments