OpenApiParameter(

name="category",
                type=OpenApiTypes.STR,
This commit is contained in:
Parsa Nazer
2025-05-21 14:17:18 +03:30
parent b5eb6d8fd0
commit 7e54d8a62f
+2 -1
View File
@@ -91,7 +91,8 @@ class AllProductsView(APIView):
# ),
OpenApiParameter(
name="category",
type=OpenApiTypes.INT,
type=OpenApiTypes.STR,
description="slug category (send it with category type)",
required=False,
),
OpenApiParameter(