@sleekify/sleekify
Version:
A TypeScript decorator driven approach for developing web applications.
11 lines (10 loc) • 543 B
TypeScript
import { type OperationObject } from '../types/types';
/**
* You may apply this decorator to your resource class's methods to indicate
* that a method responds to HTTP DELETE requests. It allows you to annotate
* the method with an OpenAPI operation object so you can define this
* operation's documentation.
*
* @param operationObject The optional OpenAPI operation object definition
*/
export declare function DELETE(operationObject?: OperationObject): (target: object, propertyKey: string, _descriptor?: PropertyDescriptor) => any;