UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

16 lines (15 loc) 692 B
import { IReflectController } from "../structures/IReflectController"; import { IReflectHttpOperationSuccess } from "../structures/IReflectHttpOperationSuccess"; import { IReflectOperationError } from "../structures/IReflectOperationError"; import { IOperationMetadata } from "../transformers/IOperationMetadata"; export declare namespace ReflectHttpOperationResponseAnalyzer { interface IContext { controller: IReflectController; function: Function; functionName: string; httpMethod: string; metadata: IOperationMetadata; errors: IReflectOperationError[]; } const analyze: (ctx: IContext) => IReflectHttpOperationSuccess | null; }