Skip to content

Commit 00ddab5

Browse files
authored
remove redundant select from ApiDocumentGenerator (#7802)
1 parent a667a47 commit 00ddab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/asyncapi/custom-message-types/Core_9/AsyncAPI.Feature/ApiDocumentGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void GenerateChannels(IV3AsyncApiDocumentBuilder document, AsyncApiDocumentGener
3737
var typeCache = serviceProvider.GetRequiredService<TypeCache>();
3838

3939
//get all published events
40-
foreach (var (actualType, publishedType) in typeCache.PublishedEventCache.Select(kvp => (kvp.Key, kvp.Value)))
40+
foreach (var (actualType, publishedType) in typeCache.PublishedEventCache)
4141
{
4242
var channelName = publishedType.FullName!;
4343
document.WithChannel(channelName, channel =>

0 commit comments

Comments
 (0)