diff --git a/swagger/apidoc-user.json b/swagger/apidoc-user.json index b183b9e..d21c5a0 100644 --- a/swagger/apidoc-user.json +++ b/swagger/apidoc-user.json @@ -1117,6 +1117,9 @@ "summary": "view all article", "description": "view all articles with pagination", "parameters": [ + { + "$ref": "#/components/parameters/FilterArticle" + }, { "$ref": "#/components/parameters/search" }, @@ -2731,6 +2734,25 @@ "ditolak" ] } + },"FilterArticle": { + "name": "filter", + "in": "query", + "description": "filter category", + "schema": { + "type": "string", + "enum": [ + "plastik", + "kaca", + "logam", + "organik", + "kertas", + "kaleng", + "minyak", + "elektronik", + "tekstil", + "baterai" + ] + } }, "idTransaction": { "name": "idTransaction",