From 0027dbc0e5d8d76fdb74528665b880f550fab542 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 6 Jan 2022 22:21:21 +0100 Subject: [PATCH] root: remove old api path Signed-off-by: Jens Langhammer --- authentik/api/urls.py | 2 -- authentik/root/settings.py | 3 --- schema.yml | 1 - 3 files changed, 6 deletions(-) diff --git a/authentik/api/urls.py b/authentik/api/urls.py index 28fe27f81..461fe5b94 100644 --- a/authentik/api/urls.py +++ b/authentik/api/urls.py @@ -4,7 +4,5 @@ from django.urls import include, path from authentik.api.v3.urls import urlpatterns as v3_urls urlpatterns = [ - # TODO: Remove in 2022.1 - path("v2beta/", include(v3_urls)), path("v3/", include(v3_urls)), ] diff --git a/authentik/root/settings.py b/authentik/root/settings.py index 39b98e518..87780d8cd 100644 --- a/authentik/root/settings.py +++ b/authentik/root/settings.py @@ -164,9 +164,6 @@ SPECTACULAR_SETTINGS = { { "url": "/api/v3/", }, - { - "url": "/api/v2beta/", - }, ], "CONTACT": { "email": "hello@beryju.org", diff --git a/schema.yml b/schema.yml index f17fd10bb..993bc5806 100644 --- a/schema.yml +++ b/schema.yml @@ -31331,4 +31331,3 @@ components: name: Authorization servers: - url: /api/v3/ -- url: /api/v2beta/