Skip to content

Commit

Permalink
fix: remove size for int
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaDel03 committed Jan 31, 2025
1 parent 39744c0 commit d8d662a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;
Expand Down Expand Up @@ -117,7 +119,8 @@ GetTermsDelDTO getTermsByChunkDel(
String id,
@PathVariable
@Parameter(description = "Indice chunk richiesto (eg. 0, 1, 2...)")
@Size(min = 0, max = 100000000)
@Min(0)
@Max(Integer.MAX_VALUE)
int idx
) throws OutOfRangeException, DocumentNotFoundException, DataIntegrityException, OperationException;

Expand Down

0 comments on commit d8d662a

Please sign in to comment.