Skip to content

Commit

Permalink
feat: adapt Kafka bindings to v3 - take 2 (#453)
Browse files Browse the repository at this point in the history
Co-authored-by: Fran Méndez <fmvilas@gmail.com>
  • Loading branch information
lbroudoux and fmvilas authored Nov 28, 2023
1 parent 531612a commit 81b53c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
15 changes: 1 addition & 14 deletions definitions/3.0.0/messageBindingsObject.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"kafka": {
"properties": {
"bindingVersion": {
"enum": ["0.4.0", "0.3.0", "0.1.0"]
"enum": ["0.4.0", "0.3.0"]
}
},
"allOf": [
Expand Down Expand Up @@ -161,19 +161,6 @@
"then": {
"$ref": "http://asyncapi.com/bindings/kafka/0.3.0/message.json"
}
},
{
"if": {
"required": [ "bindingVersion" ],
"properties": {
"bindingVersion": {
"const": "0.1.0"
}
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/kafka/0.1.0/message.json"
}
}
]
},
Expand Down
15 changes: 1 addition & 14 deletions definitions/3.0.0/operationBindingsObject.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
"kafka": {
"properties": {
"bindingVersion": {
"enum": ["0.4.0", "0.3.0", "0.1.0"]
"enum": ["0.4.0", "0.3.0"]
}
},
"allOf": [
Expand Down Expand Up @@ -161,19 +161,6 @@
"then": {
"$ref": "http://asyncapi.com/bindings/kafka/0.3.0/operation.json"
}
},
{
"if": {
"required": [ "bindingVersion" ],
"properties": {
"bindingVersion": {
"const": "0.1.0"
}
}
},
"then": {
"$ref": "http://asyncapi.com/bindings/kafka/0.1.0/operation.json"
}
}
]
},
Expand Down

0 comments on commit 81b53c4

Please sign in to comment.