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"""