adjust validation limit max 100

This commit is contained in:
giovanni
2026-04-27 11:54:29 +07:00
parent b764d2c3c0
commit 7cc5c39092
21 changed files with 25 additions and 25 deletions
@@ -10,6 +10,6 @@ type Update struct {
type Query struct {
Page int `query:"page" validate:"omitempty,number,min=1"`
Limit int `query:"limit" validate:"omitempty,number,min=1,max=100"`
Limit int `query:"limit" validate:"omitempty,number,min=1"`
Search string `query:"search" validate:"omitempty,max=50"`
}