Table of Contents

ConfigureSwaggerGenOptions Constructor

Definition

Namespace
Codebelt.Extensions.Swashbuckle.AspNetCore
Assemblies
Codebelt.Extensions.Swashbuckle.AspNetCore.dll
Source
src/Codebelt.Extensions.Swashbuckle.AspNetCore/ConfigureSwaggerGenOptions.cs

ConfigureSwaggerGenOptions(IApiVersionDescriptionProvider, IOptions<RestfulSwaggerOptions>)

Initializes a new instance of the ConfigureSwaggerGenOptions class.

public ConfigureSwaggerGenOptions(IApiVersionDescriptionProvider provider, IOptions<RestfulSwaggerOptions> restfulSwaggerOptions)

Parameters

provider IApiVersionDescriptionProvider

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

restfulSwaggerOptions IOptions<RestfulSwaggerOptions>

The options for configuring the SwaggerGenOptions.