From 13a562bc5f08dba02f3208487da5df3af393c202 Mon Sep 17 00:00:00 2001 From: ywonchae1 Date: Wed, 31 Jul 2024 01:06:49 +0900 Subject: [PATCH] =?UTF-8?q?mod:=20=ED=9A=8C=EC=9B=90=20=EC=9D=B4=EB=A6=84?= =?UTF-8?q?=20=EC=A0=95=EB=B3=B4=20=EC=88=98=EC=A0=95=20=EC=8B=9C=20?= =?UTF-8?q?=EA=B3=B5=EB=B0=B1=20=EB=B6=88=ED=97=88=20(#94)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/depromeet/member/dto/request/NameUpdateRequest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module-presentation/src/main/java/com/depromeet/member/dto/request/NameUpdateRequest.java b/module-presentation/src/main/java/com/depromeet/member/dto/request/NameUpdateRequest.java index 0a8fa5fe..3335f4b2 100644 --- a/module-presentation/src/main/java/com/depromeet/member/dto/request/NameUpdateRequest.java +++ b/module-presentation/src/main/java/com/depromeet/member/dto/request/NameUpdateRequest.java @@ -1,5 +1,7 @@ package com.depromeet.member.dto.request; -import jakarta.validation.constraints.NotNull; +import io.swagger.v3.oas.annotations.media.Schema; +import jakarta.validation.constraints.NotBlank; -public record NameUpdateRequest(@NotNull String name) {} +@Schema(name = "이름 수정 정보 입력") +public record NameUpdateRequest(@NotBlank String name) {}