Skip to content

Commit 636c009

Browse files
committed
Fix comment
1 parent fad4923 commit 636c009

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Mvc/Mvc.ApiExplorer/src/EndpointMetadataApiDescriptionProvider.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,6 @@ private static void AddSupportedResponseTypes(
375375
apiResponseType.ApiResponseFormats.Add(defaultResponseFormat);
376376
}
377377

378-
// We set the Description to the LAST non-null value we find that matches the status code.
379378
apiResponseType.Description ??= GetMatchingResponseTypeDescription(responseProviderMetadataTypes.Values, apiResponseType);
380379

381380
if (!supportedResponseTypes.Any(existingResponseType => existingResponseType.StatusCode == apiResponseType.StatusCode))

0 commit comments

Comments
 (0)