We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e4999 commit e5ed1a6Copy full SHA for e5ed1a6
src/Microsoft.OpenApi/Models/OpenApiOperation.cs
@@ -283,7 +283,7 @@ public void SerializeAsV2(IOpenApiWriter writer)
283
.SelectMany(r => r.Value.Content?.Keys)
284
.Concat(
285
Responses
286
- .Where(r => r.Value.Reference != null && r.Value.Reference.HostDocument != null)
+ .Where(static r => r.Value.Reference != null && r.Value.Reference.HostDocument != null)
287
.SelectMany(r => r.Value.GetEffective(r.Value.Reference.HostDocument)?.Content?.Keys))
288
.Distinct()
289
.ToList();
0 commit comments