Skip to content

Commit

Permalink
remove versioning from HTML (UI) template views #1036
Browse files Browse the repository at this point in the history
  • Loading branch information
tfranzel committed Aug 1, 2023
1 parent 33eb5c6 commit 388da8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drf_spectacular/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class SpectacularSwaggerView(APIView):
renderer_classes = [TemplateHTMLRenderer]
permission_classes = spectacular_settings.SERVE_PERMISSIONS
authentication_classes = AUTHENTICATION_CLASSES
versioning_class = None
url_name = 'schema'
url = None
template_name = 'drf_spectacular/swagger_ui.html'
Expand Down Expand Up @@ -231,6 +232,7 @@ class SpectacularRedocView(APIView):
renderer_classes = [TemplateHTMLRenderer]
permission_classes = spectacular_settings.SERVE_PERMISSIONS
authentication_classes = AUTHENTICATION_CLASSES
versioning_class = None
url_name = 'schema'
url = None
template_name = 'drf_spectacular/redoc.html'
Expand Down

0 comments on commit 388da8d

Please sign in to comment.