Skip to content

covenix / Description

Function: Description() ​

Description(text): MethodDecorator

Defined in: src/decorators.ts:361

Sets the operation's description in the generated OpenAPI document — the longer prose shown beneath the summary (CommonMark is allowed).

Parameters ​

text ​

string

Description of the operation.

Returns ​

MethodDecorator