mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +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
|
from rest_framework.schemas import AutoSchema
|
||||||
|
|
||||||
class CustomAutoSchema(AutoSchema):
|
class CustomAutoSchema(AutoSchema):
|
||||||
def get_link(*args):
|
def get_link(self, path, method, base_url):
|
||||||
# override view introspection here...
|
# override view introspection here...
|
||||||
|
|
||||||
@api_view(['GET'])
|
@api_view(['GET'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user