Table of Contents

Class ConfigureSwaggerUIOptions

Namespace
Cuemon.Extensions.Swashbuckle.AspNetCore
Assembly
Cuemon.Extensions.Swashbuckle.AspNetCore.dll

Represents something that configures the Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIOptions type. Note: These are run before all Microsoft.Extensions.Options.IPostConfigureOptions`1.

public class ConfigureSwaggerUIOptions : IConfigureOptions<SwaggerUIOptions>
Inheritance
Object
ConfigureSwaggerUIOptions
Implements
IConfigureOptions<SwaggerUIOptions>

Constructors

ConfigureSwaggerUIOptions(IApiVersionDescriptionProvider)

Initializes a new instance of the ConfigureSwaggerUIOptions class.

public ConfigureSwaggerUIOptions(IApiVersionDescriptionProvider provider)

Parameters

provider IApiVersionDescriptionProvider

The behavior of a provider that discovers and describes API version information within an application.

Methods

Configure(SwaggerUIOptions)

Invoked to configure a Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIOptions instance.

public void Configure(SwaggerUIOptions options)

Parameters

options SwaggerUIOptions

The options instance to configure.

See Also

IConfigureOptions<TOptions>