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

This commit is contained in:
shamoon
2025-08-25 13:25:54 -07:00
committed by GitHub
parent f94c3eeea8
commit f2fabc81d4

View File

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