               {'type': 'integer', 'minimum': 2147483648, 'format': 'int64'}),
          ]
          for field, mapping in cases:
              with self.subTest(field=field):
                  assert inspector._map_field(field) == mapping
  
      def test_lazy_string_field(self):
          class ItemSerializer(serializers.Serializer):
              text = serializers.CharField(help_text=_('lazy string'))
  
 
</s> remove         data = inspector._map_serializer(ItemSerializer())
 </s> add         data = inspector.map_serializer(ItemSerializer()) </s> remove         serializer = inspector._get_serializer(path, method)
 </s> add         serializer = inspector.get_serializer(path, method) </s> remove     def _map_field(self, field):
 </s> add     def map_field(self, field): </s> remove             return self._map_choicefield(field)
 </s> add             return self.map_choicefield(field) </s> remove                 mapping['items'] = self._map_field(field.child)
 </s> add                 mapping['items'] = self.map_field(field.child)
                assert inspector.map_field(field) == mapping
               {'type': 'integer', 'minimum': 2147483648, 'format': 'int64'}),
          ]
          for field, mapping in cases:
              with self.subTest(field=field):
                assert inspector.map_field(field) == mapping
  
      def test_lazy_string_field(self):
          class ItemSerializer(serializers.Serializer):
              text = serializers.CharField(help_text=_('lazy string'))
  
keep keep keep keep replace keep keep keep keep keep
 Convert openapi.AutoSchema methods to public API. 
tests/schemas/test_openapi.py