from drf_spectacular.utils import extend_schema from rest_framework.permissions import AllowAny from rest_framework.response import Response from rest_framework.views import APIView @extend_schema(exclude=True) class HealthCheckView(APIView): permission_classes = [AllowAny] def get(self, request): return Response({"status": "ok"})