From 1fa12065688ef5ca097dede31d977bc50d33b342 Mon Sep 17 00:00:00 2001 From: allburov Date: Mon, 18 Sep 2023 11:54:41 +0700 Subject: [PATCH] [core] Adjust header for swagger --- src/core/swagger.module.core.ts | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/core/swagger.module.core.ts b/src/core/swagger.module.core.ts index c2496611..17e35c35 100644 --- a/src/core/swagger.module.core.ts +++ b/src/core/swagger.module.core.ts @@ -12,8 +12,23 @@ export class SwaggerModuleCore { builder .setTitle('WAHA - WhatsApp HTTP API') - .setDescription('WhatsApp HTTP API that you can run in a click!') - .setExternalDoc('Documentation', 'https://waha.devlike.pro/') + .setDescription( + 'WhatsApp HTTP API that you can run in a click!
' + + '' + + '
' + + 'Support the project and get WAHA Plus version!' + + '', + ) + .setExternalDoc('WAHA', 'https://waha.devlike.pro/') .setVersion(VERSION.version) .addTag('sessions', 'Control WhatsApp sessions') .addTag('auth', 'Authentication')