Skip to content

Commit 269c1c7

Browse files
committed
Clean up
1 parent 93bd0b9 commit 269c1c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.OpenApi/Services/CopyReferences.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,12 @@ private void EnsureCallbacksExist()
174174

175175
private void EnsureLinksExist()
176176
{
177-
_target.Components.Callbacks ??= new Dictionary<string, OpenApiCallback>();
177+
_target.Components.Links ??= new Dictionary<string, OpenApiLink>();
178178
}
179179

180180
private void EnsureSecuritySchemesExist()
181181
{
182-
_target.Components.Callbacks ??= new Dictionary<string, OpenApiCallback>();
182+
_target.Components.SecuritySchemes ??= new Dictionary<string, OpenApiSecurityScheme>();
183183
}
184184
}
185185
}

0 commit comments

Comments
 (0)