Spaces:
Sleeping
Sleeping
Viktoria435
Refactor import paths in Book, Visitor, and Worker modules to use relative paths
c995cfc
| /* eslint-disable @typescript-eslint/no-unsafe-assignment */ | |
| import type { INestApplication } from '@nestjs/common'; | |
| import { SwaggerModule } from '@nestjs/swagger'; | |
| import { getSwaggerConfig } from '../config/swagger.config'; | |
| export function setupSwagger(app: INestApplication) { | |
| const config = getSwaggerConfig(); | |
| const document = SwaggerModule.createDocument(app, config); | |
| SwaggerModule.setup('/api/docs', app, document); | |
| } | |