mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
Removed custom api for serializer.
This commit is contained in:
parent
eede3ce936
commit
26f4f15cae
|
@ -512,11 +512,6 @@ class AutoSchema(ViewInspector):
|
|||
required = []
|
||||
properties = {}
|
||||
|
||||
try:
|
||||
return serializer.get_object_openapi_schema(autoschema=self)
|
||||
except AttributeError:
|
||||
pass
|
||||
|
||||
component_name = self.get_component_name(serializer)
|
||||
components = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user