[core] swagger ping

This commit is contained in:
devlikepro committed 2024-09-03 18:38:17 +07:00
1 parent 23dd1c2726
commit 08c244334b
1 file changed
+4 -1
+4 -1
View File
@@ -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' };
}