You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/usage.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1085,11 +1085,10 @@ class MySchemaGenerator(JSONAPISchemaGenerator):
1085
1085
### Generate a Static Schema on Command Line
1086
1086
1087
1087
See [DRF documentation for generateschema](https://www.django-rest-framework.org/api-guide/schemas/#generating-a-static-schema-with-the-generateschema-management-command)
1088
-
To generate an OAS schema document, use something like:
1088
+
To generate a static OAS schema document, using the `generateschema` management command, you **must override DRF's default**`generator_class` with the DJA-specific version:
0 commit comments