- Get(path?: string | string[]): MethodDecorator
Parameters
Optional
path: string | string[]
Returns MethodDecorator
- Get<T>(stringify?: IResponseBodyStringifier<T>): MethodDecorator
Parameters
Optional
stringify: IResponseBodyStringifier<T>
Returns MethodDecorator
- Get<T>(
path: string | string[],
stringify?: IResponseBodyStringifier<T>,
): MethodDecorator Parameters
- path: string | string[]
Optional
stringify: IResponseBodyStringifier<T>
Returns MethodDecorator
Router decorator function for the GET method.
Param: path
Path of the HTTP request
Returns
Method decorator