mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 13:00:12 +03:00
Modify arguments to get_link
This commit is contained in:
parent
505106d881
commit
309c138b33
|
@ -328,7 +328,7 @@ class SchemaGenerator(object):
|
||||||
continue
|
continue
|
||||||
link = self.get_link(path, method, view)
|
link = self.get_link(path, method, view)
|
||||||
typical_path = self.make_typical_path(path)
|
typical_path = self.make_typical_path(path)
|
||||||
keys = self.get_keys(subpath, method, view)
|
keys = self.get_keys(typical_path, method, view)
|
||||||
insert_into(links, keys, link)
|
insert_into(links, keys, link)
|
||||||
return links
|
return links
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user