UNPKG

@nestia/sdk

Version:

Nestia SDK and Swagger generator

16 lines (15 loc) 708 B
import { IReflectController } from "../structures/IReflectController"; import { IReflectHttpOperationException } from "../structures/IReflectHttpOperationException"; import { IReflectOperationError } from "../structures/IReflectOperationError"; import { IOperationMetadata } from "../transformers/IOperationMetadata"; export declare namespace ReflectHttpOperationExceptionAnalyzer { interface IContext { controller: IReflectController; function: Function; functionName: string; httpMethod: string; metadata: IOperationMetadata; errors: IReflectOperationError[]; } const analyze: (ctx: IContext) => Record<string, IReflectHttpOperationException>; }