Skip to content

Commit 1c95dbc

Browse files
https://github.com/dotnet/aspnetcore/issues/62405
1 parent b45a0e4 commit 1c95dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc.Core/src/ProducesAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public ProducesAttribute(Type type)
3333
/// </summary>
3434
/// <param name="contentType">The allowed content type for a response.</param>
3535
/// <param name="additionalContentTypes">Additional allowed content types for a response.</param>
36-
public ProducesAttribute(string? contentType, params string[] additionalContentTypes)
36+
public ProducesAttribute(string contentType, params string[] additionalContentTypes)
3737
{
3838
ArgumentNullException.ThrowIfNull(contentType);
3939

0 commit comments

Comments
 (0)