From 896189e7ff9c27a99cc831b707d6ccf00b9e7abb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Nov 2025 05:04:28 +0000 Subject: [PATCH 1/2] Initial plan From 7d8b8b37658ad302a88c4a533d45e19ffff2658f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 27 Nov 2025 05:06:27 +0000 Subject: [PATCH 2/2] fix(views): remove unused swagger_auto_schema import and decorator Co-authored-by: hepheir <19310326+hepheir@users.noreply.github.com> --- app/views.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/views.py b/app/views.py index 4202b21..6f990ba 100644 --- a/app/views.py +++ b/app/views.py @@ -3,7 +3,6 @@ from django.views.decorators.http import require_http_methods from drf_yasg.openapi import Contact from drf_yasg.openapi import Info -from drf_yasg.utils import swagger_auto_schema from drf_yasg.views import get_schema_view from rest_framework.permissions import AllowAny @@ -21,6 +20,5 @@ @require_http_methods(["GET"]) -@swagger_auto_schema(method='get') def health(request: HttpRequest): return HttpResponse(status=200)