]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fix: include array items for pagination openapi schema (#10682)
authorshamoon <4887959+shamoon@users.noreply.github.com>
Mon, 25 Aug 2025 20:25:54 +0000 (13:25 -0700)
committerGitHub <noreply@github.com>
Mon, 25 Aug 2025 20:25:54 +0000 (13:25 -0700)
src/paperless/views.py

index f206b6b15f67dbf48625b0e401b12e085572fbea..fc5bb54634a966008bb301398a373c0313a8d579 100644 (file)
@@ -88,6 +88,7 @@ class StandardPagination(PageNumberPagination):
         response_schema["properties"]["all"] = {
             "type": "array",
             "example": "[1, 2, 3]",
+            "items": {"type": "integer"},
         }
         return response_schema