From c3e06e03cf566caf2b4ffa53566292a462b27325 Mon Sep 17 00:00:00 2001 From: lendry Date: Thu, 25 Jun 2026 13:51:53 +0300 Subject: [PATCH] add swagger link from docs --- apps/api-gateway/src/main.ts | 4 ++-- apps/docs/components/docs-shell.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/api-gateway/src/main.ts b/apps/api-gateway/src/main.ts index f72fb6a..0187411 100644 --- a/apps/api-gateway/src/main.ts +++ b/apps/api-gateway/src/main.ts @@ -18,14 +18,14 @@ async function bootstrap() { const config = new DocumentBuilder() .setTitle('Lendry ID API') - .setDescription('REST API для единого входа, безопасности, RBAC и администрирования Lendry ID.') + .setDescription('REST API для единого входа, безопасности, RBAC и администрирования.') .setVersion('0.1.0') .addBearerAuth() .build(); const document = SwaggerModule.createDocument(app, config); SwaggerModule.setup('docs', app, document, { swaggerOptions: { persistAuthorization: true }, - customSiteTitle: 'Документация Lendry ID API' + customSiteTitle: 'Документация API' }); await app.listen(process.env.PORT ? Number(process.env.PORT) : 3000); diff --git a/apps/docs/components/docs-shell.tsx b/apps/docs/components/docs-shell.tsx index e8e162c..9fe75a2 100644 --- a/apps/docs/components/docs-shell.tsx +++ b/apps/docs/components/docs-shell.tsx @@ -27,7 +27,7 @@ export function DocsHeader() {