diff --git a/kholles_web/urls.py b/kholles_web/urls.py index 23cf0aa..2829a1e 100644 --- a/kholles_web/urls.py +++ b/kholles_web/urls.py @@ -42,8 +42,7 @@ urlpatterns = [ path('api-auth/', include('rest_framework.urls')), path("api/", include(router.urls)), path('api/schema/', SpectacularAPIView.as_view(), name='schema'), - path('api/schema/swagger-ui/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), - path('api/schema/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'), + path('api/doc/', SpectacularSwaggerView.as_view(url_name='schema'), name='api-doc'), path("oauth2/", include('oauth2_provider.urls', namespace='oauth2_provider')), path("favicon.ico", lambda req: vstatic.serve(req, "favicon.ico")),