Skip to content

Instantly share code, notes, and snippets.

@dalelane
Created November 27, 2020 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalelane/87aec9fde29ff3f684d06d038205b3fd to your computer and use it in GitHub Desktop.
Save dalelane/87aec9fde29ff3f684d06d038205b3fd to your computer and use it in GitHub Desktop.
asyncapi message format
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