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:
Jameel Al-Aziz 2021-12-13 06:03:09 -08:00 committed by GitHub
parent 7a84dc749c
commit b3beb15b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -961,7 +961,7 @@ class CursorPagination(BasePagination):
'in': 'query',
'description': force_str(self.cursor_query_description),
'schema': {
'type': 'integer',
'type': 'string',
},
}
]