Skip to content

Commit

Permalink
fix: examples of messages should not follow json schems
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Oct 10, 2023
1 parent ae2b0d4 commit d41ab81
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": "Schema definition of the application headers."
},
"payload": {
"$ref": "http://asyncapi.com/definitions/3.0.0/anySchema.json"
"description": "Definition of the message payload. It can be of any type"
}
}
}
Expand Down

0 comments on commit d41ab81

Please sign in to comment.