import { Controller, Get } from '@nestjs/common';
import { ApiOperation } from '@nestjs/swagger';
import { AppService } from './app.service';

@Controller()
export class AppController {
  constructor(private readonly appService: AppService) {}

  @Get()
  @ApiOperation({
    description:
      'Test GET method. Can be used to test if the service is up and running',
  })
  getHello(): string {
    return this.appService.getHello();
  }
}
