Created
November 27, 2020 11:48
-
-
Save dalelane/87aec9fde29ff3f684d06d038205b3fd to your computer and use it in GitHub Desktop.
asyncapi message format
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
asyncapi: '2.0.0' | |
... | |
channels: | |
my.topic.name: | |
... | |
subscribe: | |
... | |
message: | |
... | |
schemaFormat: 'application/vnd.aai.asyncapi;version=2.0.0' | |
payload: | |
type: string | |
pattern: '^Hello, .+$' | |
examples: | |
- friendlyexample: | |
summary: A message for Dale | |
payload: 'Hello, Dale' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment