Class ConfigureSwaggerUIOptions
- Namespace
- Codebelt.Extensions.Swashbuckle.AspNetCore
- Assembly
- Codebelt.Extensions.Swashbuckle.AspNetCore.dll
Represents something that configures the SwaggerUIOptions type. Note: These are run before all IPostConfigureOptions<TOptions>.
public class ConfigureSwaggerUIOptions : IConfigureOptions<SwaggerUIOptions>
- Inheritance
-
ConfigureSwaggerUIOptions
- Implements
Constructors
ConfigureSwaggerUIOptions(IApiVersionDescriptionProvider)
Initializes a new instance of the ConfigureSwaggerUIOptions class.
public ConfigureSwaggerUIOptions(IApiVersionDescriptionProvider provider)
Parameters
provider
IApiVersionDescriptionProviderThe behavior of a provider that discovers and describes API version information within an application.
Methods
Configure(SwaggerUIOptions)
Invoked to configure a SwaggerUIOptions instance.
public void Configure(SwaggerUIOptions options)
Parameters
options
SwaggerUIOptionsThe options instance to configure.
See Also
IConfigureOptions<TOptions>