Skip to content

Commit

Permalink
Revert changes to schema urlpatterns
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Apr 18, 2024
1 parent dc44f70 commit cdc7f2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/ciso_assistant/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@

# beware of the order of url patterns, this can change de behavior in case of multiple matches and avoid giving identical paths that could cause conflicts
urlpatterns = [
path("", SpectacularAPIView.as_view(), name="schema"),
path("api/schema/", SpectacularAPIView.as_view(), name="schema"),
path(
"schema/swagger/",
"api/schema/swagger/",
SpectacularSwaggerView.as_view(url_name="schema"),
name="swagger",
),
path(
"schema/redoc/",
"api/schema/redoc/",
SpectacularRedocView.as_view(url_name="schema"),
name="redoc",
),
Expand Down

0 comments on commit cdc7f2f

Please sign in to comment.