From 3b16414534e3dc721f0c199c793fa2d303e5c979 Mon Sep 17 00:00:00 2001 From: souvik Date: Mon, 15 Jan 2024 18:38:25 +0530 Subject: [PATCH] fix: asyncapi.yaml of examples --- examples/crypto-websockets/server/asyncapi.yaml | 2 +- .../social-network/notifications-service/asyncapi.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/crypto-websockets/server/asyncapi.yaml b/examples/crypto-websockets/server/asyncapi.yaml index 41848db70..730aa152d 100644 --- a/examples/crypto-websockets/server/asyncapi.yaml +++ b/examples/crypto-websockets/server/asyncapi.yaml @@ -32,7 +32,7 @@ channels: token: type: string operations: - /price.subscribe: + sendPrice: action: send channel: $ref: '#/channels/price' diff --git a/examples/social-network/notifications-service/asyncapi.yaml b/examples/social-network/notifications-service/asyncapi.yaml index 58aeb30b6..d6ea01935 100644 --- a/examples/social-network/notifications-service/asyncapi.yaml +++ b/examples/social-network/notifications-service/asyncapi.yaml @@ -10,15 +10,15 @@ servers: mqtt: clientId: notifications-service channels: - post/liked: + postLiked: address: post/liked messages: - onPostLiked.message: + onPostLikedMmessage: $ref: '../websocket-server/asyncapi.yaml#/components/messages/notifyPostLiked' operations: onPostLiked: action: receive channel: - $ref: '#/channels/post~1liked' + $ref: '#/channels/postLiked' messages: - - $ref: '#/channels/post~1liked/messages/onPostLiked.message' + - $ref: '#/channels/post~1liked/messages/onPostLikedMessage'