Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/modules/onboarding/dtos/onboarding.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class CreateProfileDto {
introAudioUrl: string;

@ApiProperty({
example: ['뜨개질', '산책', '영화'],
example: ['등산', '영화감상'],
description: '선택한 키워드 배열',
})
Comment on lines 38 to 41
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Swagger example 배열에 불필요한 공백(['등산', '영화감상' ],)이 들어가 있어 Prettier/린트 규칙과 다를 수 있습니다. 공백을 제거해 포맷을 일관되게 맞춰 주세요.

Copilot uses AI. Check for mistakes.
@IsArray()
Expand Down
12 changes: 6 additions & 6 deletions src/modules/user/dtos/user-profile-update-request.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { Sex } from '@prisma/client';
import {
ArrayUnique,
IsArray,
IsInt,
Max,
Min,
IsEnum,
IsOptional,
IsString,
IsUrl,
IsInt,
Min,
Max,
} from 'class-validator';

export class UserProfileUpdateRequestDto {
Expand Down Expand Up @@ -41,7 +41,7 @@ export class UserProfileUpdateRequestDto {
introText?: string;

@ApiPropertyOptional({
example: ['뜨개질', '산책', '영화', '문화생활'],
example: ['영화감상', '문학'],
})
@IsOptional()
@IsArray()
Expand All @@ -50,7 +50,7 @@ export class UserProfileUpdateRequestDto {
keywords?: string[];

@ApiPropertyOptional({
example: ['다정함', '배려'],
example: ['타인배려', '배움욕구'],
})
@IsOptional()
@IsArray()
Expand All @@ -59,7 +59,7 @@ export class UserProfileUpdateRequestDto {
personalities?: string[];

@ApiPropertyOptional({
example: ['유머', '성실'],
example: ['유머사용', '성실함'],
})
@IsOptional()
@IsArray()
Expand Down
Loading