Skip to content
This repository was archived by the owner on Jan 11, 2021. It is now read-only.

Commit 781d1b1

Browse files
author
Aleksei Mikhailov
committed
Fix excluding schema view from doc for DRF 3.9
1 parent 102d22e commit 781d1b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rest_framework_swagger/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ def get_swagger_view(title=None, url=None, patterns=None, urlconf=None):
1515
class SwaggerSchemaView(APIView):
1616
_ignore_model_permissions = True
1717
exclude_from_schema = True
18+
schema = None
1819
permission_classes = [AllowAny]
1920
renderer_classes = [
2021
CoreJSONRenderer,

0 commit comments

Comments
 (0)