mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Docs: Provide full params in example
Ref feedback b52e372f8f (r137254795)
This commit is contained in:
parent
96c39e5c82
commit
18defaf3b1
|
@ -195,7 +195,7 @@ decorator. For example:
|
|||
from rest_framework.schemas import AutoSchema
|
||||
|
||||
class CustomAutoSchema(AutoSchema):
|
||||
def get_link(*args):
|
||||
def get_link(self, path, method, base_url):
|
||||
# override view introspection here...
|
||||
|
||||
@api_view(['GET'])
|
||||
|
|
Loading…
Reference in New Issue
Block a user