diff --git a/src/main.ts b/src/main.ts index 0940b38..7ac90ed 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,10 +15,11 @@ async function bootstrap() { ); app.useGlobalFilters(new DbExceptionFilter()); const config = new DocumentBuilder() - .setTitle('Cats example') - .setDescription('The cats API description') + .setTitle('TYT example') + .setDescription('The TYT API description') .setVersion('1.0') - .addTag('cats') + .addServer('http://localhost:3000', 'localhost') + .addTag('TYT') .build(); const documentFactory = () => SwaggerModule.createDocument(app, config); SwaggerModule.setup('api', app, documentFactory, {