Skip to content

Commit

Permalink
mod: 회원 이름 정보 수정 시 공백 불허 (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
ywonchae1 committed Jul 30, 2024
1 parent 52d6183 commit 13a562b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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) {}

0 comments on commit 13a562b

Please sign in to comment.