import { Controller, Get } from '@nestjs/common';
import { ApiOperation, ApiResponse, ApiTags } from '@nestjs/swagger';

@ApiTags('root')
@Controller()
export class AppController {
  @Get('status')
  @ApiOperation({ summary: 'API Status | حالة الـ API' })
  @ApiResponse({ status: 200, description: 'API is running | الـ API يعمل بنجاح' })
  getHello() {
    return {
      message: 'Ads Analytics SaaS API',
      status: 'active',
      docs: '/api/docs',
    };
  }
}
