OpenApiOptions 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.
Options to support the construction of OpenAPI documents.
public sealed class OpenApiOptions
type OpenApiOptions = class
Public NotInheritable Class OpenApiOptions
- Inheritance
-
OpenApiOptions
Constructors
OpenApiOptions() |
Initializes a new instance of the OpenApiOptions class with the default ShouldInclude predicate. |
Properties
CreateSchemaReferenceId |
A delegate to determine how reference IDs should be created for schemas associated with types in the given OpenAPI document. |
DocumentName |
The name of the OpenAPI document this OpenApiOptions instance is associated with. |
OpenApiVersion |
The version of the OpenAPI specification to use. Defaults to OpenApi3_0. |
ShouldInclude |
A delegate to determine whether a given ApiDescription should be included in the given OpenAPI document. |