OrderMenuGeneratedv1.0.0
An event fired whenever a order menu is generated
flowchart LR
l-menu-service[menu-service]:::producer-->OrderMenuGenerated[OrderMenuGenerated]:::event
classDef event stroke:#6272da,stroke-width: 4px;
classDef producer stroke:#75d7b6,stroke-width: 2px;
classDef consumer stroke:#818cf8,stroke-width: 2px;
OrderMenuGenerated[OrderMenuGenerated]:::event-->r-unknown[unknown]:::consumer
click l-menu-service href "/services/menu-service" "Go to menu-service" _self
click r-unknown href "/services/unknown" "Go to unknown" _self
click OrderMenuGenerated href "/events/OrderMenuGenerated" "Go to OrderMenuGenerated" _self
OrderMenuGenerated Schema (yml)
openapi: 3.0.0
info:
version: "1.0.0"
title: OrderMenuGenerated
paths: {}
components:
schemas:
OrderMenuGenerated:
type: object
required:
- data
# - metadata
properties:
data:
"$ref": "#/components/schemas/Data"
metadata:
"$ref": "#/components/schemas/Metadata"
Metadata:
type: object
properties:
version:
type: string
serviceFunction:
type: string
required:
- version
- serviceFunction
Data:
type: object
properties:
deliveryId:
type: string
deliveryDate:
type: string
subscriptionId:
type: string
food:
type: array
items:
type: string
country:
"$ref": "#/components/schemas/Country"
brand:
"$ref": "#/components/schemas/Brand"
kitchen:
"$ref": "#/components/schemas/Kitchen"
required:
- deliveryId
- deliveryDate
- subscriptionId
- country
- brand
- kitchen
Country:
type: string
enum:
- AE
- BH
- SA
- KW
- OM
- QA
- US
Kitchen:
type: string
enum:
- BH001
- SA001
- SA002
- KW001
- QA001
- AE001
- NA000
Brand:
type: string
enum:
- CALO
- MEALO
Edit this pageLast updated on 2024/4/2