API Documentation (Swagger UI)
Method | URL | Request | Response | Description |
---|---|---|---|---|
GET | /restaurants/{restaurantId} |
GetRestaurantResponse JSON |
Get a restaurant by restaurant ID. | |
POST | /restaurants |
CreateRestaurantRequest JSON |
CreateRestaurantResponse JSON |
Add a new restaurant. |
None
None
None
- Core event entity (Aggregate root entity): Restaurant
Event | Target Service(s) | Description |
---|---|---|
RestaurantCreatedEvent | None |
None
-
restaurants
Column Type Properties id bigint(20) PRI name varchar(255) -
kitchen_service_restaurant_menu_items
Column Type Properties restaurant_id bigint(20) MUL id varchar(255) name varchar(255) amount decimal(19,2)