We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b45a0e4 commit 1c95dbcCopy full SHA for 1c95dbc
src/Mvc/Mvc.Core/src/ProducesAttribute.cs
@@ -33,7 +33,7 @@ public ProducesAttribute(Type type)
33
/// </summary>
34
/// <param name="contentType">The allowed content type for a response.</param>
35
/// <param name="additionalContentTypes">Additional allowed content types for a response.</param>
36
- public ProducesAttribute(string? contentType, params string[] additionalContentTypes)
+ public ProducesAttribute(string contentType, params string[] additionalContentTypes)
37
{
38
ArgumentNullException.ThrowIfNull(contentType);
39
0 commit comments