forked from asyncapi/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: replicate incorrect bundling and missing assertions part of asy…
- Loading branch information
Showing
3 changed files
with
75 additions
and
8 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,62 @@ | ||
asyncapi: 3.0.0 | ||
info: | ||
title: Account Service | ||
version: 1.0.0 | ||
description: This service is in charge of processing user signups | ||
channels: | ||
userSignedup: | ||
address: 'user/signedup' | ||
messages: | ||
userSignedUpMessage: | ||
$ref: '#/components/messages/UserSignedUp' | ||
test: | ||
address: '/test' | ||
messages: | ||
testMessage: | ||
$ref: '#/components/messages/TestMessage' | ||
operations: | ||
UserSignedUp: | ||
action: send | ||
channel: | ||
$ref: '#/channels/userSignedup' | ||
TestOpp: | ||
action: send | ||
channel: | ||
$ref: '#/channels/test' | ||
components: | ||
messages: | ||
UserSignedUp: | ||
payload: | ||
type: object | ||
properties: | ||
displayName: | ||
type: string | ||
description: Name of the user | ||
email: | ||
type: string | ||
format: email | ||
description: Email of the user | ||
UserLoggedOut: | ||
payload: | ||
type: object | ||
properties: | ||
displayName: | ||
type: string | ||
description: Name of the user | ||
userId: | ||
type: string | ||
description: Id the user | ||
timestamp: | ||
type: number | ||
description: Time stamp when the user logged out | ||
TestMessage: | ||
payload: | ||
type: object | ||
properties: | ||
foo: | ||
type: string | ||
extObjRef: | ||
oneOf: | ||
- $ref: '#/components/messages/UserSignedUp' | ||
- $ref: '#/components/messages/UserLoggedOut' | ||
|
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