mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-29 01:20:02 +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',
|
'in': 'query',
|
||||||
'description': force_str(self.cursor_query_description),
|
'description': force_str(self.cursor_query_description),
|
||||||
'schema': {
|
'schema': {
|
||||||
'type': 'integer',
|
'type': 'string',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user