OpenApiDocumentTransformerContext Class

Definition

Represents the context in which an OpenAPI document transformer is executed.

public sealed class OpenApiDocumentTransformerContext
type OpenApiDocumentTransformerContext = class
Public NotInheritable Class OpenApiDocumentTransformerContext
Inheritance
OpenApiDocumentTransformerContext

Constructors

Name Description
OpenApiDocumentTransformerContext()

Properties

Name Description
ApplicationServices

Gets the application services associated with the current document.

DescriptionGroups

Gets the API description groups for the application.

DocumentName

Gets the name of the associated OpenAPI document.

Methods

Name Description
GetOrCreateSchemaAsync(Type, ApiParameterDescription, CancellationToken)

Gets or creates an OpenApiSchema for the specified type.

Applies to