              if field.write_only:
                  schema['writeOnly'] = True
              if field.allow_null:
                  schema['nullable'] = True
              if field.default and field.default != empty:  # why don't they use None?!
                  schema['default'] = field.default
              if field.help_text:
                  schema['description'] = str(field.help_text)
              self._map_field_validators(field, schema)
  
 
</s>
            if field.default and field.default != empty and not callable(field.default):  # why don't they use None?!
              if field.write_only:
                  schema['writeOnly'] = True
              if field.allow_null:
                  schema['nullable'] = True
            if field.default and field.default != empty and not callable(field.default):  # why don't they use None?!
                  schema['default'] = field.default
              if field.help_text:
                  schema['description'] = str(field.help_text)
              self._map_field_validators(field, schema)
  
keep keep keep keep replace keep keep keep keep keep
 Avoid outputting callable defaults to schema. (#7105)
rest_framework/schemas/openapi.py