1
0

fix pageper

This commit is contained in:
syui 2023-04-14 15:12:45 +09:00
parent d72f710aaa
commit c892ba3d8f
Signed by: syui
GPG Key ID: 5417CFEBAD92DF56
4 changed files with 1594 additions and 7 deletions

View File

@ -459,7 +459,7 @@ func decodeListCardParams(args [0]string, r *http.Request) (params ListCardParam
MinSet: true,
Min: 1,
MaxSet: true,
Max: 255,
Max: 25500,
MinExclusive: false,
MaxExclusive: false,
MultipleOfSet: false,
@ -624,7 +624,7 @@ func decodeListGroupParams(args [0]string, r *http.Request) (params ListGroupPar
MinSet: true,
Min: 1,
MaxSet: true,
Max: 255,
Max: 2550,
MinExclusive: false,
MaxExclusive: false,
MultipleOfSet: false,
@ -956,7 +956,7 @@ func decodeListUserParams(args [0]string, r *http.Request) (params ListUserParam
MinSet: true,
Min: 1,
MaxSet: true,
Max: 255,
Max: 2550,
MinExclusive: false,
MaxExclusive: false,
MultipleOfSet: false,

View File

@ -30,7 +30,7 @@
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 255,
"maximum": 25500,
"minimum": 1
}
}
@ -366,7 +366,7 @@
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 255,
"maximum": 2550,
"minimum": 1
}
}
@ -692,7 +692,7 @@
"description": "item count to render per page",
"schema": {
"type": "integer",
"maximum": 255,
"maximum": 2550,
"minimum": 1
}
}

File diff suppressed because it is too large Load Diff