Skip to content

tsoa-next / tsoa-next / Options

Function: Options()

ts
function Options(value?): MethodDecorator;

Defined in: packages/runtime/src/decorators/methods.ts:4

Marks a controller method as handling HTTP OPTIONS requests for the given relative path.

Parameters

value?

string

Returns

MethodDecorator

TypeScript-first OpenAPI generation, route generation, and runtime validation.