mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
Fix CursorPagination parameter schema type (#7708)
The CursorPagination's cursor query parameter expects a string and not an integer. Fixes #7691
This commit is contained in:
parent
7a84dc749c
commit
b3beb15b00
|
@ -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