diff --git a/rest_framework/schemas/openapi.py b/rest_framework/schemas/openapi.py index bc5b4b603..4050bc260 100644 --- a/rest_framework/schemas/openapi.py +++ b/rest_framework/schemas/openapi.py @@ -377,7 +377,7 @@ class AutoSchema(ViewInspector): if field.default and field.default != empty: # why don't they use None?! schema['default'] = field.default if field.help_text: - schema['description'] = force_text(field.help_text) + schema['description'] = str(field.help_text) self._map_field_validators(field.validators, schema) properties[field.field_name] = schema