Update get_schema in docs (#7402)

This commit is contained in:
Daniel Gilge 2022-06-06 14:31:00 +02:00 committed by GitHub
parent 281fc074ba
commit bb7dcef19b
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
function.
### get_schema(self, request)
### get_schema(self, request=None, public=False)
Returns a dictionary that represents the OpenAPI schema: