C# 클래스 Swashbuckle.OData.HttpConfigurationExtensions

파일 보기 프로젝트 열기: rbeauchamp/Swashbuckle.OData

공개 메소드들

메소드 설명
AddCustomSwaggerRoute ( this httpConfig, System.Web.OData.Routing.ODataRoute oDataRoute, string routeTemplate ) : Swashbuckle.OData.Descriptions.SwaggerRouteBuilder
GetODataRootContainer ( this configuration, System.Web.OData.Routing.ODataRoute oDataRoute ) : IServiceProvider

비공개 메소드들

메소드 설명
FlattenRoutes ( IEnumerable routes ) : IEnumerable
GetODataRoutes ( this httpConfig ) : IEnumerable
SerializerSettingsOrDefault ( this httpConfig ) : JsonSerializerSettings

메소드 상세

AddCustomSwaggerRoute() 공개 정적인 메소드

public static AddCustomSwaggerRoute ( this httpConfig, System.Web.OData.Routing.ODataRoute oDataRoute, string routeTemplate ) : Swashbuckle.OData.Descriptions.SwaggerRouteBuilder
httpConfig this
oDataRoute System.Web.OData.Routing.ODataRoute
routeTemplate string
리턴 Swashbuckle.OData.Descriptions.SwaggerRouteBuilder

GetODataRootContainer() 공개 정적인 메소드

public static GetODataRootContainer ( this configuration, System.Web.OData.Routing.ODataRoute oDataRoute ) : IServiceProvider
configuration this
oDataRoute System.Web.OData.Routing.ODataRoute
리턴 IServiceProvider