vendaweb-api/src/app.controller.ts

15 lines
352 B
TypeScript
Raw Normal View History

2025-01-27 20:44:27 +00:00
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();
}
}