C# 클래스 Swagger.Net.SwaggerActionFilter

Determines if any request hit the Swagger route. Moves on if not, otherwise responds with JSON Swagger spec doc
상속: System.Web.Http.Filters.ActionFilterAttribute
파일 보기 프로젝트 열기: giacomelli/DG-Swagger.Net

Private Properties

프로퍼티 타입 설명
CollectApiDescriptions void
GetApiDescriptionsByController IEnumerable
GetDocs ResourceListing

공개 메소드들

메소드 설명
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Executes each request to give either a JSON Swagger spec doc or passes through the request

비공개 메소드들

메소드 설명
CollectApiDescriptions ( ) : void
GetApiDescriptionsByController ( string controllerName ) : IEnumerable
GetDocs ( System.Web.Http.Controllers.HttpActionContext actionContext ) : ResourceListing

메소드 상세

OnActionExecuting() 공개 메소드

Executes each request to give either a JSON Swagger spec doc or passes through the request
public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext Context of the action
리턴 void