Skip to content

tsoa-next / tsoa-next / OperationId

Function: OperationId()

ts
function OperationId(value): MethodDecorator;

Defined in: packages/runtime/src/decorators/operationid.ts:6

Overrides the generated OpenAPI operation id for an action.

Parameters

value

string

The explicit operation id to emit into the specification.

Returns

MethodDecorator

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