Skip to content

Commit

Permalink
fix: version api request body 정규식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GIVEN53 committed Nov 6, 2023
1 parent 677a486 commit 3b548b6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
* @author TEO
* @since 1.3.0
*/
public record VersionRequest(@NotBlank @Pattern(regexp = "^\\d\\.\\d\\.\\d$") String minVersion,
@NotBlank @Pattern(regexp = "^\\d\\.\\d\\.\\d$") String latestVersion, @NotBlank String key) {
public record VersionRequest(@NotBlank @Pattern(regexp = "^\\d+\\.\\d+\\.\\d+$") String minVersion,
@NotBlank @Pattern(regexp = "^\\d+\\.\\d+\\.\\d+$") String latestVersion, @NotBlank String key) {
}

0 comments on commit 3b548b6

Please sign in to comment.