-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(models): add multiple messages api * test: fix test:watch script * chore(models): regenerate package-lock.json * test: add test for multiple messages in operation * 6.6.21 * test: add a waitUntil
- Loading branch information
1 parent
a1f7a23
commit 26244f9
Showing
5 changed files
with
666 additions
and
574 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
asyncapi: '2.0.0' | ||
info: | ||
title: exp-shipping-sftp-async | ||
description: This api processes Shipping Notification messages and converts them to a CDM. | ||
version: '1.0.0' | ||
|
||
channels: | ||
shipping-messages: | ||
description: Converted Shipping Notification messages are published on this channel. | ||
publish: | ||
description: Converted Shipping Notification messages can be subscribed to via this channel. | ||
message: | ||
oneOf: | ||
- $ref: '#/components/messages/ASN' | ||
- $ref: '#/components/messages/GRN' | ||
|
||
components: | ||
|
||
messages: | ||
ASN: | ||
contentType: application/json | ||
headers: | ||
type: object | ||
description: Message header | ||
properties: | ||
messageId: | ||
description: Message ID field | ||
type: string | ||
payload: | ||
type: object | ||
description: Message payload | ||
properties: | ||
data1: | ||
description: Data 1 field | ||
type: string | ||
GRN: | ||
contentType: application/json | ||
headers: | ||
type: object | ||
description: Message header | ||
properties: | ||
messageId: | ||
description: Message ID field | ||
type: string | ||
payload: | ||
type: object | ||
description: Message payload | ||
properties: | ||
data2: | ||
description: Data 2 field | ||
type: string |
Oops, something went wrong.