diff --git a/back/src/app.controller.ts b/back/src/app.controller.ts index 6509517..93301d5 100644 --- a/back/src/app.controller.ts +++ b/back/src/app.controller.ts @@ -1,11 +1,13 @@ import { Controller, Get } from '@nestjs/common'; import { AppService } from './app.service'; +import { ApiOkResponse } from '@nestjs/swagger'; @Controller() export class AppController { constructor(private readonly appService: AppService) {} @Get() + @ApiOkResponse({ description: 'Return a hello world message, used as a health route' }) getHello(): string { return this.appService.getHello(); }