          response_schema = responses['200']['content']['application/json']['schema']
          properties = response_schema['items']['properties']
          assert properties['hstore']['type'] == 'object'
  
      def test_serializer_validators(self):
          path = '/'
          method = 'GET'
          view = create_view(
              views.ExampleValidatedAPIView,
 
</s> remove             if field.default and field.default != empty:  # why don't they use None?!
 </s> add             if field.default and field.default != empty and not callable(field.default):  # why don't they use None?!
    def test_serializer_callable_default(self):
        path = '/'
        method = 'GET'
        view = create_view(
            views.ExampleGenericAPIView,
            method,
            create_request(path),
        )
        inspector = AutoSchema()
        inspector.view = view

        responses = inspector._get_responses(path, method)
        response_schema = responses['200']['content']['application/json']['schema']
        properties = response_schema['items']['properties']
        assert 'default' not in properties['uuid_field']

          response_schema = responses['200']['content']['application/json']['schema']
          properties = response_schema['items']['properties']
          assert properties['hstore']['type'] == 'object'
  
    def test_serializer_callable_default(self):
        path = '/'
        method = 'GET'
        view = create_view(
            views.ExampleGenericAPIView,
            method,
            create_request(path),
        )
        inspector = AutoSchema()
        inspector.view = view

        responses = inspector._get_responses(path, method)
        response_schema = responses['200']['content']['application/json']['schema']
        properties = response_schema['items']['properties']
        assert 'default' not in properties['uuid_field']

      def test_serializer_validators(self):
          path = '/'
          method = 'GET'
          view = create_view(
              views.ExampleValidatedAPIView,
keep keep keep add keep keep keep keep keep
 Avoid outputting callable defaults to schema. (#7105) 
tests/schemas/test_openapi.py