              assert f.get_schema_operation_parameters(self.dummy_view)
  
  
  @pytest.mark.skipif(uritemplate is None, reason='uritemplate not installed.')
  class TestOperationIntrospection(TestCase):
  
      def test_path_without_parameters(self):
 
</s> remove             return {
 </s> add             mapping = { </s> remove from rest_framework.fields import empty
 </s> add from rest_framework.fields import _UnvalidatedField, empty
class TestFieldMapping(TestCase):
    def test_list_field_mapping(self):
        inspector = AutoSchema()
        cases = [
            (serializers.ListField(), {'items': {}, 'type': 'array'}),
            (serializers.ListField(child=serializers.BooleanField()), {'items': {'type': 'boolean'}, 'type': 'array'}),
            (serializers.ListField(child=serializers.FloatField()), {'items': {'type': 'number'}, 'type': 'array'}),
            (serializers.ListField(child=serializers.CharField()), {'items': {'type': 'string'}, 'type': 'array'}),
        ]
        for field, mapping in cases:
            with self.subTest(field=field):
                assert inspector._map_field(field) == mapping


              assert f.get_schema_operation_parameters(self.dummy_view)
  
  
class TestFieldMapping(TestCase):
    def test_list_field_mapping(self):
        inspector = AutoSchema()
        cases = [
            (serializers.ListField(), {'items': {}, 'type': 'array'}),
            (serializers.ListField(child=serializers.BooleanField()), {'items': {'type': 'boolean'}, 'type': 'array'}),
            (serializers.ListField(child=serializers.FloatField()), {'items': {'type': 'number'}, 'type': 'array'}),
            (serializers.ListField(child=serializers.CharField()), {'items': {'type': 'string'}, 'type': 'array'}),
        ]
        for field, mapping in cases:
            with self.subTest(field=field):
                assert inspector._map_field(field) == mapping


  @pytest.mark.skipif(uritemplate is None, reason='uritemplate not installed.')
  class TestOperationIntrospection(TestCase):
  
      def test_path_without_parameters(self):
keep keep add keep keep keep keep
 Added mapping of ListField.child type for OpenAPI Schemas. 
tests/schemas/test_openapi.py