Skip to content

Commit ced3916

Browse files
ajyongsigvef
authored andcommitted
Update DEFAULT_SCHEMA_CLASSES default value in Settings docs (encode#7014)
The default value was changed to point to the OpenAPI AutoSchema class. The docs were leading users to believe that rest_framework.schemas.AutoSchema was the default. As of this commit, the root AutoSchema is in fact imported from the coreapi module.
1 parent b709e60 commit ced3916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api-guide/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Default: `'rest_framework.negotiation.DefaultContentNegotiation'`
101101

102102
A view inspector class that will be used for schema generation.
103103

104-
Default: `'rest_framework.schemas.AutoSchema'`
104+
Default: `'rest_framework.schemas.openapi.AutoSchema'`
105105

106106
---
107107

0 commit comments

Comments
 (0)