Dela via


OpenApiSchemaTransformerContext Class

Definition

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

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

Constructors

OpenApiSchemaTransformerContext()

Properties

ApplicationServices

Gets the application services associated with the current document the target schema is in.

DocumentName

Gets the name of the associated OpenAPI document.

JsonPropertyInfo

Gets the JsonPropertyInfo associated with the target schema if the target schema is a property of a parent schema.

JsonTypeInfo

Gets the JsonTypeInfo associated with the target schema.

ParameterDescription

Gets the ApiParameterDescription associated with the target schema. Null when processing an OpenAPI schema for a response type.

Applies to