Skip to content

tsoa-next / tsoa-next / Deprecated

Function: Deprecated()

ts
function Deprecated(): PropertyDecorator & ClassDecorator & ParameterDecorator;

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

Marks a reflected API element as deprecated in generated documentation.

Returns

PropertyDecorator & ClassDecorator & ParameterDecorator

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