From ed1b7de7a750372f02e0a94fdd0875c54acd5c4c Mon Sep 17 00:00:00 2001 From: Brunobrno Date: Sun, 25 Jan 2026 23:19:56 +0100 Subject: [PATCH] Update views.py --- backend/commerce/views.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/backend/commerce/views.py b/backend/commerce/views.py index 462dca4..a4a1c68 100644 --- a/backend/commerce/views.py +++ b/backend/commerce/views.py @@ -1019,16 +1019,6 @@ class AnalyticsView(APIView): tags=["commerce", "analytics"], summary="Generate custom analytics report", description="Generate custom analytics based on specified modules and parameters", - request={ - "type": "object", - "properties": { - "modules": {"type": "array", "items": {"type": "string", "enum": ["sales", "products", "customers", "shipping", "reviews"]}}, - "start_date": {"type": "string", "format": "date-time"}, - "end_date": {"type": "string", "format": "date-time"}, - "period": {"type": "string", "enum": ["daily", "weekly", "monthly"]}, - "options": {"type": "object"} - } - } ) def post(self, request): """Generate custom analytics report based on specified modules"""