Skip to content

tsoa-next / tsoa-next / Tags

Function: Tags()

ts
function Tags(...values): ClassDecorator & MethodDecorator;

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

Adds OpenAPI tags to a controller or action.

Parameters

values

...string[]

One or more tag names to attach.

Returns

ClassDecorator & MethodDecorator

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