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 ) { }