Skip to content

Commit

Permalink
refactor: dto 유효성 검사 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyxklee committed Nov 20, 2024
1 parent 7c4b654 commit 4f46cf3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package leets.weeth.domain.file.application.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import org.hibernate.validator.constraints.URL;

public record FileUpdateRequest(
@NotBlank Long fileId,
@NotNull Long fileId,
@NotBlank String fileName,
@NotBlank @URL String fileUrl
) {
Expand Down

0 comments on commit 4f46cf3

Please sign in to comment.