C# Class Nancy.Swagger.Annotations.SwaggerAnnotationsProvider

Inheritance: Nancy.Swagger.Services.SwaggerMetadataProvider
ファイルを表示 Open project: khellang/Nancy.Swagger

Public Methods

Method Description
SwaggerAnnotationsProvider ( INancyModuleCatalog moduleCatalog, NancyContext context ) : System

Protected Methods

Method Description
RetrieveSwaggerModels ( ) : IList
RetrieveSwaggerPaths ( ) : SwaggerRouteData>.IDictionary
RetrieveSwaggerRouteData ( ) : PathItem>.IDictionary
RetrieveSwaggerTags ( ) : IList

Private Methods

Method Description
CreateSwaggerModelData ( Type type ) : SwaggerModelData
CreateSwaggerModelPropertyData ( PropertyInfo pi ) : SwaggerModelPropertyData
CreateSwaggerParameterData ( ParameterInfo pi ) : Parameter
CreateSwaggerRouteData ( INancyModule module, Nancy.Routing.Route route, MethodInfo>.Dictionary routeHandlers ) : SwaggerRouteData
CreateSwaggerRouteData ( INancyModule module, Nancy.Routing.Route route, MethodInfo>.Dictionary routeHandlers ) : PathItem>.Tuple
ToSwaggerRouteData ( INancyModule module ) : IEnumerable
ToSwaggerRouteData ( INancyModule module ) : PathItem>>.IEnumerable

Method Details

RetrieveSwaggerModels() protected method

protected RetrieveSwaggerModels ( ) : IList
return IList

RetrieveSwaggerPaths() protected method

protected RetrieveSwaggerPaths ( ) : SwaggerRouteData>.IDictionary
return SwaggerRouteData>.IDictionary

RetrieveSwaggerRouteData() protected method

protected RetrieveSwaggerRouteData ( ) : PathItem>.IDictionary
return PathItem>.IDictionary

RetrieveSwaggerTags() protected method

protected RetrieveSwaggerTags ( ) : IList
return IList

SwaggerAnnotationsProvider() public method

public SwaggerAnnotationsProvider ( INancyModuleCatalog moduleCatalog, NancyContext context ) : System
moduleCatalog INancyModuleCatalog
context NancyContext
return System