Documentation
    Preparing search index...

    Properties for the SwaggerCustomizer decorator.

    SwaggerCustomizer.IProps is a type for the closure parameter of the SwaggerCustomizer decorator. It's a callback function which can customize the swagger data.

    interface IProps {
        method: string;
        path: string;
        route: IOperation;
        swagger: IDocument;
        at(func: Function): ISwaggerEndpoint | undefined;
        get(accessor: IAccessor): IOperation | undefined;
    }
    Index

    Properties

    Methods

    Properties

    method: string

    Method of the route.

    path: string

    Path of the route.

    route: IOperation

    Route data.

    swagger: IDocument

    Swagger data.

    Methods