We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93bd0b9 commit 269c1c7Copy full SHA for 269c1c7
src/Microsoft.OpenApi/Services/CopyReferences.cs
@@ -174,12 +174,12 @@ private void EnsureCallbacksExist()
174
175
private void EnsureLinksExist()
176
{
177
- _target.Components.Callbacks ??= new Dictionary<string, OpenApiCallback>();
+ _target.Components.Links ??= new Dictionary<string, OpenApiLink>();
178
}
179
180
private void EnsureSecuritySchemesExist()
181
182
+ _target.Components.SecuritySchemes ??= new Dictionary<string, OpenApiSecurityScheme>();
183
184
185
0 commit comments