Skip to content

Commit 80c11fc

Browse files
jokiefersliverc
authored andcommitted
removes title from schema
1 parent 1a8f30b commit 80c11fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rest_framework_json_api/schemas/openapi.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -681,9 +681,6 @@ def map_serializer(self, serializer):
681681
if field.help_text:
682682
# Ensure django gettext_lazy is rendered correctly
683683
schema["description"] = str(field.help_text)
684-
if field.label:
685-
# Ensure django gettext_lazy is rendered correctly
686-
schema["title"] = str(field.label)
687684
self.map_field_validators(field, schema)
688685

689686
attributes[format_field_name(field.field_name)] = schema

0 commit comments

Comments
 (0)