@tsed/ts-doc
Version:
Generate documentation in markdown for TypeScript API
16 lines (15 loc) • 398 B
Plain Text
/**
* Interface comment
*/
export interface ReturnsChainedDecorators extends MethodDecorator {
/**
* Set a Content-Type for the current response
*/
ContentType(value: string): this;
}
/**
* Add responses documentation for a specific status code.
*
* @decorator
*/
export declare function Returns(status?: string | number, model?: Type<any> | any): ReturnsChainedDecorators;