Skip to content

Commit 1bcee8c

Browse files
committed
Document extra parameters to get_schema_view
1 parent 5333565 commit 1bcee8c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/api-guide/schemas.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,15 @@ to be exposed in the schema:
334334
May be used to specify a `SchemaGenerator` subclass to be passed to the
335335
`SchemaView`.
336336

337+
#### `authentication_classes`
338+
339+
May be used to specify the list of authentication classes that will apply to the schema endpoint.
340+
Defaults to `settings.DEFAULT_AUTHENTICATION_CLASSES`
341+
342+
#### `permission_classes`
343+
344+
May be used to specify the list of permission classes that will apply to the schema endpoint.
345+
Defaults to `settings.DEFAULT_PERMISSION_CLASSES`
337346

338347

339348
## Using an explicit schema view

0 commit comments

Comments
 (0)