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