跳到主要内容
版本:Next

Options

Callable

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

  • Routes HTTP OPTIONS requests to the specified path.