C# 클래스 Swashbuckle.OData.ODataSwaggerProvider

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

공개 메소드들

메소드 설명
Configure ( Action configure ) : ODataSwaggerProvider
GetSwagger ( string rootUrl, string apiVersion ) : SwaggerDocument
ODataSwaggerProvider ( ISwaggerProvider defaultProvider, SwaggerDocsConfig swaggerDocsConfig, System.Web.Http.HttpConfiguration httpConfig ) : System

Initializes a new instance of the ODataSwaggerProvider class. Use this constructor for self-hosted scenarios.

비공개 메소드들

메소드 설명
CreateOperation ( System.Web.Http.Description.ApiDescription apiDescription, SchemaRegistry schemaRegistry ) : Operation
CreateParameter ( System.Web.Http.Description.ApiParameterDescription paramDesc, bool inPath, SchemaRegistry schemaRegistry, IEdmModel edmModel ) : Parameter
CreateParameter ( Swashbuckle.OData.Descriptions.SwaggerApiParameterDescription paramDesc, bool inPath, SchemaRegistry schemaRegistry, IEdmModel edmModel ) : Parameter
CreatePathItem ( IEnumerable apiDescriptions, SchemaRegistry schemaRegistry ) : PathItem
GetApiDescriptionsFor ( string apiVersion ) : IEnumerable
MapToSwaggerParameterLocation ( ParameterSource swaggerSource ) : string
MergeODataAndWebApiSwaggerDocs ( string rootUrl, string apiVersion, SwaggerDocument odataSwaggerDoc ) : SwaggerDocument

메소드 상세

Configure() 공개 메소드

public Configure ( Action configure ) : ODataSwaggerProvider
configure Action
리턴 ODataSwaggerProvider

GetSwagger() 공개 메소드

public GetSwagger ( string rootUrl, string apiVersion ) : SwaggerDocument
rootUrl string
apiVersion string
리턴 Swashbuckle.Swagger.SwaggerDocument

ODataSwaggerProvider() 공개 메소드

Initializes a new instance of the ODataSwaggerProvider class. Use this constructor for self-hosted scenarios.
public ODataSwaggerProvider ( ISwaggerProvider defaultProvider, SwaggerDocsConfig swaggerDocsConfig, System.Web.Http.HttpConfiguration httpConfig ) : System
defaultProvider ISwaggerProvider The default provider.
swaggerDocsConfig SwaggerDocsConfig The swagger docs configuration.
httpConfig System.Web.Http.HttpConfiguration The HttpConfiguration that contains the OData Edm Model.
리턴 System