OpenApiParameter(
name="category",
type=OpenApiTypes.STR,
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user