C# 클래스 NSwag.AspNet.Owin.SwaggerMiddleware

Generates a Swagger specification on a given path.
상속: Microsoft.Owin.OwinMiddleware
파일 보기 프로젝트 열기: NSwag/NSwag

공개 메소드들

메소드 설명
Invoke ( IOwinContext context ) : System.Threading.Tasks.Task

Process an individual request.

SwaggerMiddleware ( Microsoft.Owin.OwinMiddleware next, string path, IEnumerable controllerTypes, SwaggerOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : System

Initializes a new instance of the SwaggerMiddleware class.

보호된 메소드들

메소드 설명
GenerateSwagger ( IOwinContext context ) : string

Generates the Swagger specification.

메소드 상세

GenerateSwagger() 보호된 메소드

Generates the Swagger specification.
protected GenerateSwagger ( IOwinContext context ) : string
context IOwinContext The context.
리턴 string

Invoke() 공개 메소드

Process an individual request.
public Invoke ( IOwinContext context ) : System.Threading.Tasks.Task
context IOwinContext The context.
리턴 System.Threading.Tasks.Task

SwaggerMiddleware() 공개 메소드

Initializes a new instance of the SwaggerMiddleware class.
public SwaggerMiddleware ( Microsoft.Owin.OwinMiddleware next, string path, IEnumerable controllerTypes, SwaggerOwinSettings settings, SwaggerJsonSchemaGenerator schemaGenerator ) : System
next Microsoft.Owin.OwinMiddleware The next middleware.
path string The path.
controllerTypes IEnumerable The controller types.
settings SwaggerOwinSettings The settings.
schemaGenerator SwaggerJsonSchemaGenerator The schema generator.
리턴 System