mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-10-26 16:22:35 -04:00
Fix: include array items for pagination openapi schema (#10682)
This commit is contained in:
parent
f94c3eeea8
commit
f2fabc81d4
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user