From 7c4b6540aa64bbf30378474d8a2df76dd330b578 Mon Sep 17 00:00:00 2001 From: hyxklee Date: Tue, 19 Nov 2024 23:01:22 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20dto=20=EC=9C=A0=ED=9A=A8=EC=84=B1?= =?UTF-8?q?=20=EA=B2=80=EC=82=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/file/application/dto/request/FileSaveRequest.java | 2 +- .../domain/file/application/dto/request/FileUpdateRequest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/leets/weeth/domain/file/application/dto/request/FileSaveRequest.java b/src/main/java/leets/weeth/domain/file/application/dto/request/FileSaveRequest.java index 4d705c6f..73921fab 100644 --- a/src/main/java/leets/weeth/domain/file/application/dto/request/FileSaveRequest.java +++ b/src/main/java/leets/weeth/domain/file/application/dto/request/FileSaveRequest.java @@ -5,6 +5,6 @@ public record FileSaveRequest( @NotBlank String fileName, - @URL String fileUrl + @NotBlank @URL String fileUrl ) { } diff --git a/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java b/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java index ee024ef5..08679460 100644 --- a/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java +++ b/src/main/java/leets/weeth/domain/file/application/dto/request/FileUpdateRequest.java @@ -6,6 +6,6 @@ public record FileUpdateRequest( @NotBlank Long fileId, @NotBlank String fileName, - @URL String fileUrl + @NotBlank @URL String fileUrl ) { }