Class RouteConfig

Hierarchy

  • RouteConfig

Constructors

Properties

baseUrl: string = ''
category: string = ''
data: Map<any, any> = ...

An arbitrary data container the user can use to store app specific settings/values.

description: string = ''
groups: string[] = []
httpMethods: string[]
internal: boolean = false
middlewares: {
    config: HttpMiddlewareConfig;
    module?: InjectorModule<any, InjectorModule<any, any>>;
}[] = []
module?: InjectorModule<any, InjectorModule<any, any>>

When assigned defines where this route came from.

name: string
path: string
resolverForParameterName: Map<string, ClassType<any>> = ...
resolverForToken: Map<any, ClassType<any>> = ...
responses: {
    description: string;
    statusCode: number;
    type?: Type;
}[] = []
returnType?: Type
serializationOptions?: SerializationOptions
serializer?: Serializer

Methods

  • Parameters

    • statusCode: number

    Returns undefined | Type

Generated using TypeDoc