mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
fix(api): always return the page total when listing reports (#2534)
This commit is contained in:
@@ -12923,25 +12923,14 @@
|
||||
]
|
||||
},
|
||||
"AdminReportListResponse": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reports": {"type": "array", "items": {"$ref": "#/components/schemas/ReportAdminResponseSchema"}},
|
||||
"total": {"type": "number"},
|
||||
"offset": {"type": "number"},
|
||||
"limit": {"type": "number"}
|
||||
},
|
||||
"required": ["reports", "total", "offset", "limit"]
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reports": {"type": "array", "items": {"$ref": "#/components/schemas/ReportAdminResponseSchema"}}
|
||||
},
|
||||
"required": ["reports"]
|
||||
}
|
||||
]
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"reports": {"type": "array", "items": {"$ref": "#/components/schemas/ReportAdminResponseSchema"}},
|
||||
"total": {"type": "number"},
|
||||
"offset": {"type": "number"},
|
||||
"limit": {"type": "number"}
|
||||
},
|
||||
"required": ["reports", "total", "offset", "limit"]
|
||||
},
|
||||
"ReportAdminResponseSchema": {
|
||||
"type": "object",
|
||||
|
||||
Reference in New Issue
Block a user