OpenApiEndpointConventionBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for annotating OpenAPI descriptions on an Endpoint.
public static class OpenApiEndpointConventionBuilderExtensions
type OpenApiEndpointConventionBuilderExtensions = class
Public Module OpenApiEndpointConventionBuilderExtensions
- Inheritance
-
OpenApiEndpointConventionBuilderExtensions
Methods
WithOpenApi<TBuilder>(TBuilder) |
Adds an OpenAPI annotation to Metadata associated with the current endpoint. |
WithOpenApi<TBuilder>(TBuilder, Func<OpenApiOperation,OpenApiOperation>) |
Adds an OpenAPI annotation to Metadata associated
with the current endpoint and modifies it with the given |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for