Skip to content

Commit 1d80375

Browse files
committed
chore: fixes is component information while walking media types
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
1 parent fda6621 commit 1d80375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi/Services/OpenApiWalker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ internal void Walk(IDictionary<string, IOpenApiMediaType>? content)
800800
}
801801

802802
_visitor.CurrentKeys.Content = mediaType.Key;
803-
WalkItem(mediaType.Key, mediaType.Value, static (self, item) => self.Walk(item));
803+
WalkItem(mediaType.Key, mediaType.Value, static (self, item, isComponent) => self.Walk(item, isComponent), isComponent: false);
804804
_visitor.CurrentKeys.Content = null;
805805
}
806806
}

0 commit comments

Comments
 (0)