We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11edf57 commit 5a54f89Copy full SHA for 5a54f89
rest_framework/renderers.py
@@ -948,7 +948,7 @@ def get_schema(self, instance):
948
schema = {}
949
if instance.__class__ in CLASS_TO_TYPENAME:
950
schema['type'] = CLASS_TO_TYPENAME[instance.__class__]
951
- schema['title'] = instance.title,
+ schema['title'] = instance.title
952
schema['description'] = instance.description
953
if hasattr(instance, 'enum'):
954
schema['enum'] = instance.enum
0 commit comments