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
Показать файл Открыть проект

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