mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-28 00:49:49 +03:00
Update get_schema in docs
This commit is contained in:
parent
76232437d4
commit
c760e24d33
|
@ -165,7 +165,7 @@ In order to customize the top-level schema, subclass
|
||||||
as an argument to the `generateschema` command or `get_schema_view()` helper
|
as an argument to the `generateschema` command or `get_schema_view()` helper
|
||||||
function.
|
function.
|
||||||
|
|
||||||
### get_schema(self, request)
|
### get_schema(self, request=None, public=False)
|
||||||
|
|
||||||
Returns a dictionary that represents the OpenAPI schema:
|
Returns a dictionary that represents the OpenAPI schema:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user