Closed
Description
Background and Motivation
Mark action deprecated in Minimal APIs, so it could be shown in Open API.
Proposed API
namespace Microsoft.AspNetCore.Builder
{
public static class OpenApiEndpointConventionBuilderExtensions
{
public static MinimalActionEndpointRouteBuilderExtensions Deprecated(this MinimalActionEndpointRouteBuilderExtensions builder);
}
}
Usage Examples
app.MapGet("/greetings", () => "Hello World!").Deprecated();
app.MapGet("/welcome", () => "Hello World!");
Metadata
Metadata
Assignees
Labels
Work that is important, but not critical for the releaseEarly API idea and discussion, it is NOT ready for implementationIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcController-like actions for endpoint routing*DEPRECATED* This label is deprecated in favor of the area-mvc and area-minimal labels