Skip to content

Commit

Permalink
Change @ISBN type from ISBN10 to ANY
Browse files Browse the repository at this point in the history
  • Loading branch information
nklimovych committed May 2, 2024
1 parent a7b0317 commit 342fcd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class BookRequestDto {
private String title;
@NotBlank
private String author;
@ISBN(type = ISBN.Type.ISBN_10)
@ISBN(type = ISBN.Type.ANY)
private String isbn;
@NotNull
@Min(0)
Expand Down

0 comments on commit 342fcd8

Please sign in to comment.