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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy