feat(api): don't use trailing slashes (#1982)
This commit is contained in:
parent
368350b269
commit
f08af1f3fa
10 changed files with 85 additions and 85 deletions
|
@ -24,12 +24,12 @@ api_urls += storage_urls
|
|||
urlpatterns = [
|
||||
path("api/v2/", include(api_urls)),
|
||||
path(
|
||||
"api/v2/schema/",
|
||||
"api/v2/schema",
|
||||
SpectacularAPIView.as_view(),
|
||||
name="schema",
|
||||
),
|
||||
path(
|
||||
"api/v2/schema/swagger-ui/",
|
||||
"api/v2/schema/swagger-ui",
|
||||
SpectacularSwaggerView.as_view(url_name="schema"),
|
||||
name="swagger-ui",
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue