Skip to content

Commit

Permalink
fix admin update order routes in swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
AsliSema committed Aug 9, 2023
1 parent 443e178 commit a63803b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/routes/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 375,22 @@ router
* type: string
* required: true
* description: ID of the order
* requestBody:
* description: Updating value of isPaid & isDelivered. Cook can only access this API.
* required: true
* content:
* application/json:
* schema:
* type: object
* properties:
* isPaid:
* type: boolean
* description: ID of the dish to be added to the cart.
* default: true
* isDelivered:
* type: boolean
* description: Quantity of the dish to be added to the cart.
* default: true
* responses:
* 200:
* description: Successful operation
Expand Down

0 comments on commit a63803b

Please sign in to comment.