From 8850446bc2945100b3fd3d9d06de07e69047ebc8 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 11 Feb 2023 21:07:38 +0100 Subject: [PATCH] admin: fix schema generation warning Signed-off-by: Jens Langhammer --- authentik/admin/api/system.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/admin/api/system.py b/authentik/admin/api/system.py index 45b60e1fd..c1e74672a 100644 --- a/authentik/admin/api/system.py +++ b/authentik/admin/api/system.py @@ -97,6 +97,7 @@ class SystemView(APIView): permission_classes = [IsAdminUser] pagination_class = None filter_backends = [] + serializer_class = SystemSerializer @extend_schema(responses={200: SystemSerializer(many=False)}) def get(self, request: Request) -> Response: