mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-05 17:54:35 +03:00
Document extra parameters to get_schema_view
This commit is contained in:
parent
5333565fe6
commit
1bcee8c60c
|
@ -334,6 +334,15 @@ to be exposed in the schema:
|
|||
May be used to specify a `SchemaGenerator` subclass to be passed to the
|
||||
`SchemaView`.
|
||||
|
||||
#### `authentication_classes`
|
||||
|
||||
May be used to specify the list of authentication classes that will apply to the schema endpoint.
|
||||
Defaults to `settings.DEFAULT_AUTHENTICATION_CLASSES`
|
||||
|
||||
#### `permission_classes`
|
||||
|
||||
May be used to specify the list of permission classes that will apply to the schema endpoint.
|
||||
Defaults to `settings.DEFAULT_PERMISSION_CLASSES`
|
||||
|
||||
|
||||
## Using an explicit schema view
|
||||
|
|
Loading…
Reference in New Issue
Block a user