Update get_schema in docs

This commit is contained in:
Daniel Gilge 2020-07-08 18:36:45 +02:00 committed by GitHub
parent 76232437d4
commit c760e24d33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: