(path?: string)
| 98 | * @returns The decorator. |
| 99 | */ |
| 100 | export function Patch(path?: string) { |
| 101 | return (target: any, propertyKey: string) => { |
| 102 | Reflect.defineMetadata('httpMethod', 'PATCH', target, propertyKey); |
| 103 | Reflect.defineMetadata('path', path, target, propertyKey); |
| 104 | }; |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Decorator specifying that a controller method handles DELETE requests. |
no outgoing calls
no test coverage detected