net10.0-windows7.0
namespace Microsoft.AspNetCore.Builder
{
public static class OpenApiEndpointConventionBuilderExtensions
{
[RequiresDynamicCode("Calls Microsoft.AspNetCore.OpenApi.OpenApiGenerator.GetOpenApiOperation(MethodInfo, EndpointMetadataCollection, RoutePattern) which uses dynamic analysis. Use IServiceCollection.AddOpenApi() to generate OpenAPI metadata at startup for all endpoints,")]
[RequiresUnreferencedCode("Calls Microsoft.AspNetCore.OpenApi.OpenApiGenerator.GetOpenApiOperation(MethodInfo, EndpointMetadataCollection, RoutePattern) which uses dynamic analysis. Use IServiceCollection.AddOpenApi() to generate OpenAPI metadata at startup for all endpoints,")]
public static TBuilder WithOpenApi<TBuilder>(this TBuilder builder)
where TBuilder, IEndpointConventionBuilder!;
}
}
.NET | 9.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.AspNetCore.OpenApi , Version=9.0.2.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNetCore.OpenApi (9.0.2) net9.0 |
Platform Restrictions | This API is supported on all platforms. |