admin: fix schema generation warning
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
10b9878f03
commit
8850446bc2
|
@ -97,6 +97,7 @@ class SystemView(APIView):
|
||||||
permission_classes = [IsAdminUser]
|
permission_classes = [IsAdminUser]
|
||||||
pagination_class = None
|
pagination_class = None
|
||||||
filter_backends = []
|
filter_backends = []
|
||||||
|
serializer_class = SystemSerializer
|
||||||
|
|
||||||
@extend_schema(responses={200: SystemSerializer(many=False)})
|
@extend_schema(responses={200: SystemSerializer(many=False)})
|
||||||
def get(self, request: Request) -> Response:
|
def get(self, request: Request) -> Response:
|
||||||
|
|
Reference in New Issue