@asyncapi/converter 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/third-version.js +1 -0
- package/package.json +1 -1
package/lib/third-version.js
CHANGED
|
@@ -241,6 +241,7 @@ function convertMessages(data) {
|
|
|
241
241
|
const messages = Object.assign({}, data.messages);
|
|
242
242
|
// Convert schema formats to union schemas
|
|
243
243
|
Object.entries(messages).forEach(([_, message]) => {
|
|
244
|
+
delete message.messageId;
|
|
244
245
|
if (message.schemaFormat !== undefined) {
|
|
245
246
|
const payloadSchema = message.payload;
|
|
246
247
|
message.payload = {
|