Docs: Provide full params in example

Ref feedback b52e372f8f (r137254795)
This commit is contained in:
Carlton Gibson 2017-09-06 15:40:22 +02:00
parent 96c39e5c82
commit 18defaf3b1

View File

@ -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'])