system health 추가

This commit is contained in:
2025-12-15 09:18:49 +09:00
parent edf8681ea0
commit 15c0ad0a1a
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { Controller, Get } from '@nestjs/common';
import { SystemService, SystemHealthResponse } from './system.service';
import { Public } from '../common/decorators/public.decorator';
@Controller('system')
export class SystemController {
constructor(private readonly systemService: SystemService) {}
@Public()
@Get('health')
async getHealth(): Promise<SystemHealthResponse> {
return this.systemService.getHealth();
}
}