We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e80b78d commit 32a0b62Copy full SHA for 32a0b62
rest_framework/schemas.py
@@ -30,7 +30,7 @@ def field_to_schema(field):
30
title = force_text(field.label) if field.label else ''
31
description = force_text(field.help_text) if field.help_text else ''
32
33
- if isinstance(field, serializers.ListSerializer):
+ if isinstance(field, (serializers.ListSerializer, serializers.ListField)):
34
child_schema = field_to_schema(field.child)
35
return coreschema.Array(
36
items=child_schema,
0 commit comments