4 references to Produces
Microsoft.AspNetCore.Routing (3)
Builder\OpenApiRouteHandlerBuilderExtensions.cs (3)
55
return
Produces
(builder, statusCode, typeof(TResponse), contentType, additionalContentTypes);
109
return
Produces
(builder, statusCode, typeof(ProblemDetails), contentType);
130
return
Produces
(builder, statusCode, typeof(HttpValidationProblemDetails), contentType);
Microsoft.AspNetCore.Routing.Tests (1)
Builder\OpenApiRouteHandlerBuilderExtensionsTest.cs (1)
63
builder.
Produces
(StatusCodes.Status404NotFound);