MCPcopy
hub / github.com/FoalTS/foal / ApiOperationDescription

Function ApiOperationDescription

packages/core/src/core/openapi/decorators.ts:37–39  ·  view source on GitHub ↗
(description: string | ((controller: any) => string))

Source from the content-addressed store, hash-verified

35}
36
37export function ApiOperationDescription(description: string | ((controller: any) => string)): OpenApiDecorator {
38 return Reflect.metadata('api:operation:description', description);
39}
40
41export function ApiOperationId(operationId: string | ((controller: any) => string)): OpenApiDecorator {
42 return Reflect.metadata('api:operation:operationId', operationId);

Callers 13

UserControllerClass · 0.90
ApiControllerClass · 0.90
AppControllerClass · 0.90
ControllerClass · 0.90
Controller2Class · 0.90
ControllerClass · 0.90
ControllerClass · 0.90
ControllerClass · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected