Aller au contenu principal
Version: 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.