(operation: IApiOperation | ((controller: any) => IApiOperation))
| 67 | } |
| 68 | |
| 69 | export function ApiOperation(operation: IApiOperation | ((controller: any) => IApiOperation)): OpenApiDecorator { |
| 70 | return Reflect.metadata('api:operation', operation); |
| 71 | } |
| 72 | |
| 73 | export function ApiUseTag(tag: string | ((controller: any) => string)): OpenApiDecorator { |
| 74 | return AddMetadataItem('api:operation:tags', tag); |
no outgoing calls
no test coverage detected