Class
ApiGenerationContext
Provides context information used during API generation, such as application metadata and handlers for generating example bodies and parameters.
public sealed class ApiGenerationContextInheritance #
Inherited Members #
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors #
| Name | Description |
|---|---|
| ApiGenerationContext() | Initializes a new ApiGenerationContext class instance. |
Properties #
| Name | Description |
|---|---|
| ApplicationDescription | Gets or sets the description of the application. |
| ApplicationName | Gets or sets the name of the application. |
| ApplicationVersion | Gets or sets the version of the application. |
| BodyExampleTypeHandler | Gets or sets the handler used to generate example bodies for request and response types. |
| ContentSchemaTypeHandler | Gets or sets the handler used to process content schema types. |
| Handler | Gets or sets the handler used to modify generated API documentation items. |
| ParameterExampleTypeHandler | Gets or sets the handler used to generate example parameters for query, route, and header parameters. |