OpenApiRouteHandlerBuilderExtensions
Accepts(RouteHandlerBuilder, Type, String, String[])
Accepts(RouteHandlerBuilder, Type, Boolean, String, String[])
Accepts<TRequest>(RouteHandlerBuilder, String, String[])
Accepts<TRequest>(RouteHandlerBuilder, Boolean, String, String[])
ExcludeFromDescription(RouteHandlerBuilder)
ExcludeFromDescription<TBuilder>(TBuilder)
Produces(RouteHandlerBuilder, Int32, Type, String, String[])
Produces<TResponse>(RouteHandlerBuilder, Int32, String, String[])
ProducesProblem(RouteHandlerBuilder, Int32, String)
ProducesProblem<TBuilder>(TBuilder, Int32, String)
ProducesValidationProblem(RouteHandlerBuilder, Int32, String)
ProducesValidationProblem<TBuilder>(TBuilder, Int32, String)
WithDescription<TBuilder>(TBuilder, String)
WithSummary<TBuilder>(TBuilder, String)
WithTags(RouteHandlerBuilder, String[])
WithTags<TBuilder>(TBuilder, String[])
net9.0
namespace Microsoft.AspNetCore.Http
{
public static class OpenApiRouteHandlerBuilderExtensions
{
public static TBuilder ProducesValidationProblem<TBuilder>(this TBuilder builder, int statusCode = 400, string? contentType = null)
where TBuilder, IEndpointConventionBuilder!;
}
}
.NET | 9.0 |
---|---|
Information specific to net9.0 | |
Assembly | Microsoft.AspNetCore.Routing , Version=9.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API