Skip to content

Commit

Permalink
fix: make key in kafka msg binding validate as anyOf
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed Dec 11, 2023
1 parent 2dd5558 commit ae9e8c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bindings/kafka/0.4.0/message.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
},
"properties": {
"key": {
"oneOf": [
"anyOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json"
}
],
"description": "The message key."
Expand Down

0 comments on commit ae9e8c3

Please sign in to comment.