Skip to main content

Definition

Assembly: Microsoft.Restier.AspNetCore.Swagger.dll Namespace: Microsoft.Restier.AspNetCore.Swagger Inheritance: System.Object

Syntax

Microsoft.Restier.AspNetCore.Swagger.RestierSwaggerProvider

Constructors

.ctor

Syntax

public RestierSwaggerProvider(Microsoft.AspNetCore.Http.IHttpContextAccessor httpContextAccessor, Microsoft.AspNet.OData.IPerRouteContainer perRouteContainer, System.Action<Microsoft.OpenApi.OData.OpenApiConvertSettings> openApiSettings = null)

Parameters

NameTypeDescription
httpContextAccessorMicrosoft.AspNetCore.Http.IHttpContextAccessor-
perRouteContainerMicrosoft.AspNet.OData.IPerRouteContainer-
openApiSettingsSystem.Action<Microsoft.OpenApi.OData.OpenApiConvertSettings>-

.ctor Inherited

Inherited from object

Syntax

public Object()

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetSwagger

Syntax

public Microsoft.OpenApi.Models.OpenApiDocument GetSwagger(string documentName, string host = null, string basePath = null)

Parameters

NameTypeDescription
documentNamestring-
hoststring-
basePathstring-

Returns

Type: Microsoft.OpenApi.Models.OpenApiDocument

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?
  • Swashbuckle.AspNetCore.Swagger.ISwaggerProvider