root: remove old api path
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c15e4b24a1
commit
0027dbc0e5
|
@ -4,7 +4,5 @@ from django.urls import include, path
|
||||||
from authentik.api.v3.urls import urlpatterns as v3_urls
|
from authentik.api.v3.urls import urlpatterns as v3_urls
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
# TODO: Remove in 2022.1
|
|
||||||
path("v2beta/", include(v3_urls)),
|
|
||||||
path("v3/", include(v3_urls)),
|
path("v3/", include(v3_urls)),
|
||||||
]
|
]
|
||||||
|
|
|
@ -164,9 +164,6 @@ SPECTACULAR_SETTINGS = {
|
||||||
{
|
{
|
||||||
"url": "/api/v3/",
|
"url": "/api/v3/",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"url": "/api/v2beta/",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
"CONTACT": {
|
"CONTACT": {
|
||||||
"email": "hello@beryju.org",
|
"email": "hello@beryju.org",
|
||||||
|
|
|
@ -31331,4 +31331,3 @@ components:
|
||||||
name: Authorization
|
name: Authorization
|
||||||
servers:
|
servers:
|
||||||
- url: /api/v3/
|
- url: /api/v3/
|
||||||
- url: /api/v2beta/
|
|
||||||
|
|
Reference in New Issue