Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: include array items for pagination openapi schema (#10682)

shamoonf2fabc81d4d8
diff --git a/src/paperless/views.py b/src/paperless/views.py
index f206b6b15..fc5bb5463 100644
--- a/src/paperless/views.py
+++ b/src/paperless/views.py
@@ -88,6 +88,7 @@ class StandardPagination(PageNumberPagination):
response_schema["properties"]["all"] = {
"type": "array",
"example": "[1, 2, 3]",
+ "items": {"type": "integer"},
}
return response_schema