C# Class Swashbuckle.Swagger.SwaggerGenerator

Inheritance: ISwaggerProvider
Show file Open project: BenjaminAdams/Swashbuckle-blue Class Usage Examples

Public Methods

Method Description
GetSwagger ( string rootUrl, string apiVersion ) : SwaggerDocument
SwaggerGenerator ( IApiExplorer apiExplorer, JsonSerializerSettings jsonSerializerSettings, Info>.IDictionary apiVersions, Swashbuckle.Swagger.SwaggerGeneratorOptions options = null ) : System

Private Methods

Method Description
CreateOperation ( System.Web.Http.Description.ApiDescription apiDescription, SchemaRegistry schemaRegistry ) : Operation
CreateParameter ( System.Web.Http.Description.ApiParameterDescription paramDesc, bool inPath, SchemaRegistry schemaRegistry ) : Parameter
CreatePathItem ( IEnumerable apiDescriptions, SchemaRegistry schemaRegistry ) : PathItem
GetApiDescriptionsFor ( string apiVersion ) : IEnumerable

Method Details

GetSwagger() public method

public GetSwagger ( string rootUrl, string apiVersion ) : SwaggerDocument
rootUrl string
apiVersion string
return SwaggerDocument

SwaggerGenerator() public method

public SwaggerGenerator ( IApiExplorer apiExplorer, JsonSerializerSettings jsonSerializerSettings, Info>.IDictionary apiVersions, Swashbuckle.Swagger.SwaggerGeneratorOptions options = null ) : System
apiExplorer IApiExplorer
jsonSerializerSettings Newtonsoft.Json.JsonSerializerSettings
apiVersions Info>.IDictionary
options Swashbuckle.Swagger.SwaggerGeneratorOptions
return System