From 08c244334b43ca11081489fe5b5e759d86ac59f2 Mon Sep 17 00:00:00 2001 From: devlikepro Date: Tue, 3 Sep 2024 18:38:17 +0700 Subject: [PATCH] [core] swagger ping --- src/api/ping.controller.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/api/ping.controller.ts b/src/api/ping.controller.ts index 236511d1..89f6261a 100644 --- a/src/api/ping.controller.ts +++ b/src/api/ping.controller.ts @@ -7,7 +7,10 @@ import { PingResponse } from '@waha/structures/ping.dto'; @ApiTags('🔍 Observability') export class PingController { @Get() - @ApiOperation({ summary: 'Ping the server, perform no operations.' }) + @ApiOperation({ + summary: 'Ping the server', + description: 'Check if the server is alive and responding to requests.', + }) ping(): PingResponse { return { message: 'pong' }; }