Skip to content

Commit

Permalink
feat: adapt Kafka bindings to v3 - take 2
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <[email protected]>
  • Loading branch information
lbroudoux committed Nov 24, 2023
1 parent 9639ca9 commit e4af62c
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 @@ -118,7 +118,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 @@ -160,19 +160,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 @@ -118,7 +118,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 @@ -160,19 +160,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 e4af62c

Please sign in to comment.