mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-10 19:56:59 +03:00
b45ff07294
This is the first part of #6846. Previously, the response schema for list views was an object representing a single item. However, list views return a list of items, and hence it should be an array. Further work will need to be done to support how pagination classes modify list responses. There should be no change for views not determined to be list views. |
||
---|---|---|
.. | ||
__init__.py | ||
test_coreapi.py | ||
test_get_schema_view.py | ||
test_managementcommand.py | ||
test_openapi.py | ||
views.py |