Skip to content

Commit

Permalink
fix: examples of messages should not follow json schema (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Oct 11, 2023
1 parent ae2b0d4 commit f80e22e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions definitions/3.0.0/messageObject.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@
"description": "A brief summary of the message example."
},
"headers": {
"$ref": "http://asyncapi.com/definitions/3.0.0/anySchema.json"
"type": "object",
"description": "Example of the application headers. It can be of any type."
},
"payload": {
"$ref": "http://asyncapi.com/definitions/3.0.0/anySchema.json"
"description": "Example of the message payload. It can be of any type."
}
}
}
Expand Down

0 comments on commit f80e22e

Please sign in to comment.