UNPKG

@nestjs/swagger

Version:

OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.

13 lines (12 loc) • 230 B
export interface CallBackObject<T> { name: string; callbackUrl: string; method: string; requestBody: { type: T; }; expectedResponse: { status: number; description?: string; }; }