Skip to content

Commit

Permalink
fix: asyncapi.yaml of examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Jan 15, 2024
1 parent b22427d commit 3b16414
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/crypto-websockets/server/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ channels:
token:
type: string
operations:
/price.subscribe:
sendPrice:
action: send
channel:
$ref: '#/channels/price'
Expand Down
8 changes: 4 additions & 4 deletions examples/social-network/notifications-service/asyncapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 3b16414

Please sign in to comment.