Owneat Technical Guide main Help

Class ConfigureSwaggerOptions

Namespace: Payment.API.Swagger
Assembly: Payment.API.dll

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

public class ConfigureSwaggerOptions : IConfigureNamedOptions<SwaggerGenOptions>, IConfigureOptions<SwaggerGenOptions>

Inheritance

object ← ConfigureSwaggerOptions

Implements

IConfigureNamedOptions<SwaggerGenOptions\>, IConfigureOptions<SwaggerGenOptions\>

Inherited Members

object.Equals\(object?\), object.Equals\(object?, object?\), object.GetHashCode\(\), object.GetType\(\), object.MemberwiseClone\(\), object.ReferenceEquals\(object?, object?\), object.ToString\(\)

Constructors

ConfigureSwaggerOptions\(IApiVersionDescriptionProvider\)

Class that define swagger options for API definition.

public ConfigureSwaggerOptions(IApiVersionDescriptionProvider provider)

Parameters

provider IApiVersionDescriptionProvider

Provided that discovers and describes API version information within an application.

Methods

Configure\(SwaggerGenOptions\)

Invoked to configure a Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions instance.

public void Configure(SwaggerGenOptions options)

Parameters

options SwaggerGenOptions

The options instance to configure.

Configure\(string?, SwaggerGenOptions\)

Invoked to configure a Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions instance.

public void Configure(string? name, SwaggerGenOptions options)

Parameters

name string?

The name of the options instance being configured.

options SwaggerGenOptions

The options instance to configure.

Last modified: 21 May 2024