mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-26 01:16:16 +00:00
Fix: include array items for pagination openapi schema (#10682)
This commit is contained in:
@@ -88,6 +88,7 @@ class StandardPagination(PageNumberPagination):
|
|||||||
response_schema["properties"]["all"] = {
|
response_schema["properties"]["all"] = {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"example": "[1, 2, 3]",
|
"example": "[1, 2, 3]",
|
||||||
|
"items": {"type": "integer"},
|
||||||
}
|
}
|
||||||
return response_schema
|
return response_schema
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user