[NestJS] Swagger 사용법
1. Swagger 패키지 설치npm install --save @nestjs/swagger2. Swagger 실행하기import { NestFactory } from '@nestjs/core';import { SwaggerModule, DocumentBuilder } from '@nestjs/swagger';import { AppModule } from './app.module';async function bootstrap() { const app = await NestFactory.create(AppModule); const config = new DocumentBuilder() .setTitle('Cats example') .setDescription('The cats API desc..
2025. 4. 7.
최근댓글