14 lines
434 B
TypeScript
14 lines
434 B
TypeScript
import { Controller, Get } from "@nestjs/common";
|
|
import { ApiTags, ApiOperation, ApiResponse } from "@nestjs/swagger";
|
|
|
|
@ApiTags("System")
|
|
@Controller("minimal")
|
|
export class MinimalController {
|
|
@Get()
|
|
@ApiOperation({ summary: "Minimal endpoint for OpenAPI generation" })
|
|
@ApiResponse({ status: 200, description: "Success" })
|
|
getMinimal(): { message: string } {
|
|
return { message: "OpenAPI generation successful" };
|
|
}
|
|
}
|