mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 08:29:59 +03:00
Fix CursorPagination parameter schema type
The CursorPagination's cursor query parameter expects a string and not an integer. Fixes #7691
This commit is contained in:
parent
431f7dfa3d
commit
97ef01310d
|
@ -961,7 +961,7 @@ class CursorPagination(BasePagination):
|
|||
'in': 'query',
|
||||
'description': force_str(self.cursor_query_description),
|
||||
'schema': {
|
||||
'type': 'integer',
|
||||
'type': 'string',
|
||||
},
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue
Block a user