Skip to content

Commit ec65ee6

Browse files
committed
Removed old comment
1 parent 7dd16f6 commit ec65ee6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc.ApiExplorer/src/ApiResponseTypeProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ internal static void CalculateResponseFormatForType(ApiResponseType apiResponse,
363363
}
364364

365365
// If the method is declared to return IActionResult, IResult or a derived class, that information
366-
// isn't valuable to the formatter, unless it implements IEndpointMetadataProvider interface.
366+
// isn't valuable to the formatter.
367367
if (typeof(IActionResult).IsAssignableFrom(unwrappedType) ||
368368
typeof(IResult).IsAssignableFrom(unwrappedType))
369369
{

0 commit comments

Comments
 (0)