diff --git a/rest_framework/schemas.py b/rest_framework/schemas.py index afab8f71f..875f9454b 100644 --- a/rest_framework/schemas.py +++ b/rest_framework/schemas.py @@ -606,7 +606,7 @@ class SchemaGenerator(object): return [] pagination = getattr(view, 'pagination_class', None) - if not pagination or not getattr(pagination, 'page_size', None): + if not pagination: return [] paginator = view.pagination_class()