Skip to content

Commit 621f763

Browse files
committed
refactor: general
1 parent 274f377 commit 621f763

File tree

8 files changed

+399
-360
lines changed

8 files changed

+399
-360
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,17 @@ responses, [check out the DTOs here](/src/main/kotlin/com/example/dto).
130130
- Retrieves foods filtered by category.
131131
- **Query**: `type` (String, optional) - Category type, defaults to "all".
132132
- **Response**: `200 OK` with foods by category, `404 Not Found` with error message.
133+
134+
### Get All Orders
135+
136+
- **GET** `/orders/{userId}/all`
137+
- Retrieves all orders for the specified user.
138+
- **Path**: `userId` (UUID as string)
139+
- **Response**: `200 OK` with a list of all orders, `404 Not Found` with error message if no orders are found.
140+
141+
### Get All Orders as Flow
142+
143+
- **GET** `/orders/{userId}/all/flow`
144+
- Retrieves a real-time flow of all orders for the specified user.
145+
- **Path**: `userId` (UUID as string)
146+
- **Response**: `200 OK` with a flow of orders, `404 Not Found` with error message if no orders are found.

public/diagram.png

-960 Bytes
Loading

0 commit comments

Comments
 (0)