diff --git a/kobo/urls.py b/kobo/urls.py index e3fdd24464..112f9b4dc8 100644 --- a/kobo/urls.py +++ b/kobo/urls.py @@ -22,7 +22,7 @@ # YOUR PATTERNS path('api/schema/', SpectacularAPIView.as_view(), name='schema'), # Optional UI: - path('api/schema/swagger-ui/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), + path('api/schema/swagger/', SpectacularSwaggerView.as_view(url_name='schema'), name='swagger-ui'), path('api/schema/redoc/', SpectacularRedocView.as_view(url_name='schema'), name='redoc'), # https://github.com/stochastic-technologies/django-loginas