跳到主要内容
版本:Next

Get

Callable

  • Get(path?: string | RegExp, routerOptions?: { description?: string; ignoreGlobalPrefix?: boolean; middleware?: MiddlewareParamArray; routerName?: string; summary?: string }): MethodDecorator

  • Routes HTTP GET requests to the specified path.