View Source
Class SwaggerRouteTemplatePipelineFilter
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public class SwaggerRouteTemplatePipelineFilter : UmbracoPipelineFilter, IUmbracoPipelineFilter
Constructors
View Source
SwaggerRouteTemplatePipelineFilter(String)
Declaration
public SwaggerRouteTemplatePipelineFilter(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Methods
View Source
SwaggerIsEnabled(IApplicationBuilder)
Declaration
protected virtual bool SwaggerIsEnabled(IApplicationBuilder applicationBuilder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
applicationBuilder |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
SwaggerRouteTemplate(IApplicationBuilder)
Declaration
protected virtual string SwaggerRouteTemplate(IApplicationBuilder applicationBuilder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
applicationBuilder |
|
Returns
Type |
Description |
System.String |
|
View Source
SwaggerUiConfiguration(SwaggerUIOptions, SwaggerGenOptions, IApplicationBuilder)
Declaration
protected virtual void SwaggerUiConfiguration(SwaggerUIOptions swaggerUiOptions, SwaggerGenOptions swaggerGenOptions, IApplicationBuilder applicationBuilder)
Parameters
Type |
Name |
Description |
SwaggerUIOptions |
swaggerUiOptions |
|
SwaggerGenOptions |
swaggerGenOptions |
|
Microsoft.AspNetCore.Builder.IApplicationBuilder |
applicationBuilder |
|
View Source
SwaggerUiRoutePrefix(IApplicationBuilder)
Declaration
protected virtual string SwaggerUiRoutePrefix(IApplicationBuilder applicationBuilder)
Parameters
Type |
Name |
Description |
Microsoft.AspNetCore.Builder.IApplicationBuilder |
applicationBuilder |
|
Returns
Type |
Description |
System.String |
|