Skip to content

Commit e5ed1a6

Browse files
Update src/Microsoft.OpenApi/Models/OpenApiOperation.cs
Co-authored-by: Vincent Biret <[email protected]>
1 parent 62e4999 commit e5ed1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Models/OpenApiOperation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
283283
.SelectMany(r => r.Value.Content?.Keys)
284284
.Concat(
285285
Responses
286-
.Where(r => r.Value.Reference != null && r.Value.Reference.HostDocument != null)
286+
.Where(static r => r.Value.Reference != null && r.Value.Reference.HostDocument != null)
287287
.SelectMany(r => r.Value.GetEffective(r.Value.Reference.HostDocument)?.Content?.Keys))
288288
.Distinct()
289289
.ToList();

0 commit comments

Comments
 (0)