Files
Vendaweb-api/src/app.controller.ts
Felipe Batista 47e7f75720 commit
2025-01-27 17:44:27 -03:00

15 lines
352 B
TypeScript

import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
import { ApiExcludeEndpoint } from '@nestjs/swagger';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get()
@ApiExcludeEndpoint()
getHello(): string {
return this.appService.getHello();
}
}