mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-25 23:50:01 +03:00
Adapted test case for paginated response schema
This commit is contained in:
parent
25e09ba14b
commit
edc75e91b0
|
@ -922,10 +922,14 @@ class CursorPaginationTestsMixin:
|
|||
'next': {
|
||||
'type': 'string',
|
||||
'nullable': True,
|
||||
'format': 'uri',
|
||||
'example': 'http://api.example.org/accounts/?cursor=cD00ODY%3D"'
|
||||
},
|
||||
'previous': {
|
||||
'type': 'string',
|
||||
'nullable': True,
|
||||
'format': 'uri',
|
||||
'example': 'http://api.example.org/accounts/?cursor=cj0xJnA9NDg3'
|
||||
},
|
||||
'results': unpaginated_schema,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user