chore: Removed development only docs tags (#17028)

This commit is contained in:
Keith Williams
2024-10-09 11:58:58 -03:00
committed by GitHub
parent 03d0b98155
commit 8d61b452b1
4 changed files with 104 additions and 436 deletions
-2
View File
@@ -3,8 +3,6 @@ import { Controller, Get, Version, VERSION_NEUTRAL } from "@nestjs/common";
import { ApiTags as DocsTags, ApiExcludeController as DocsExcludeController } from "@nestjs/swagger";
@Controller()
@DocsTags("Health - development only")
@DocsExcludeController(getEnv("NODE_ENV") === "production")
export class AppController {
@Get("health")
@Version(VERSION_NEUTRAL)