UNPKG

@puq/middleware

Version:

Interceptors, middlewares, and pipes

28 lines 610 B
import type { INestApplication } from '@nestjs/common'; /** * Swagger options */ export type SwaggerOptions = { /** * App instance */ app: INestApplication; /** * App name */ name: string; /** * App description */ description: string; /** * Swagger path */ path: string; }; /** * Configure swagger for the project. Run this function before the server starts to listen * @param options - {@link SwaggerOptions} */ export declare function configureSwagger(options: SwaggerOptions): void; //# sourceMappingURL=configure-swagger.d.ts.map