Skip to content

Commit

Permalink
feat : add filter
Browse files Browse the repository at this point in the history
  • Loading branch information
teranixbq committed Dec 11, 2023
1 parent 4ecb70b commit 86bb61a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions swagger/apidoc-user.json
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,9 @@
"summary": "view all article",
"description": "view all articles with pagination",
"parameters": [
{
"$ref": "#/components/parameters/FilterArticle"
},
{
"$ref": "#/components/parameters/search"
},
Expand Down Expand Up @@ -2587,6 +2590,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",
Expand Down

0 comments on commit 86bb61a

Please sign in to comment.