C# Class Swashbuckle.OData.HttpConfigurationExtensions

Afficher le fichier Open project: rbeauchamp/Swashbuckle.OData

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
FlattenRoutes ( IEnumerable routes ) : IEnumerable
GetODataRoutes ( this httpConfig ) : IEnumerable
SerializerSettingsOrDefault ( this httpConfig ) : JsonSerializerSettings

Method Details

AddCustomSwaggerRoute() public static méthode

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
Résultat Swashbuckle.OData.Descriptions.SwaggerRouteBuilder

GetODataRootContainer() public static méthode

public static GetODataRootContainer ( this configuration, System.Web.OData.Routing.ODataRoute oDataRoute ) : IServiceProvider
configuration this
oDataRoute System.Web.OData.Routing.ODataRoute
Résultat IServiceProvider