django-rest-framework/tests/schemas
Reupen Shah b45ff07294 Use an array type for list view response schemas
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.
2019-08-07 20:40:22 +02:00
..
__init__.py Added OpenAPI Schema Generation. (#6532) 2019-05-13 16:07:03 +02:00
test_coreapi.py Added OpenAPI Schema Generation. (#6532) 2019-05-13 16:07:03 +02:00
test_get_schema_view.py Added OpenAPI Schema Generation. (#6532) 2019-05-13 16:07:03 +02:00
test_managementcommand.py Add --generator_class CLI option to generateschema (#6735) 2019-06-09 14:43:54 +02:00
test_openapi.py Use an array type for list view response schemas 2019-08-07 20:40:22 +02:00
views.py Fixed a typo on the ExampleValidatedAPIView 2019-07-24 11:13:30 +02:00