mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-18 20:46:49 +01:00
Fix: include array items for pagination openapi schema (#10682)
This commit is contained in:
parent
f94c3eeea8
commit
f2fabc81d4
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue