8000 Update DEFAULT_SCHEMA_CLASSES default value in Settings docs (#7014) · coderanger/django-rest-framework@14d740d · GitHub
[go: up one dir, main page]

Skip to content

Commit 14d740d

Browse files
ajyongcarltongibson
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 5e8fe6e commit 14d740d

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)
0