Skip to content

Commit d096d0f

Browse files
authored
Revert "feat: add ros2 bindings (#582)" (#587)
This reverts commit 00a30a5.
1 parent 6d6e827 commit d096d0f

File tree

5 files changed

+1
-197
lines changed

5 files changed

+1
-197
lines changed

bindings/ros2/0.1.0/operation.json

Lines changed: 0 additions & 88 deletions
This file was deleted.

bindings/ros2/0.1.0/server.json

Lines changed: 0 additions & 35 deletions
This file was deleted.

definitions/3.0.0/operationBindingsObject.json

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -298,41 +298,6 @@
298298
},
299299
"stomp": {},
300300
"redis": {},
301-
"ros2": {
302-
"properties": {
303-
"bindingVersion": {
304-
"enum": ["0.1.0"]
305-
}
306-
},
307-
"allOf": [
308-
{
309-
"description": "If no bindingVersion specified, use the latest binding",
310-
"if": {
311-
"not": {
312-
"required": [
313-
"bindingVersion"
314-
]
315-
}
316-
},
317-
"then": {
318-
"$ref": "http://asyncapi.com/bindings/ros2/0.1.0/operation.json"
319-
}
320-
},
321-
{
322-
"if": {
323-
"required": [ "bindingVersion" ],
324-
"properties": {
325-
"bindingVersion": {
326-
"const": "0.1.0"
327-
}
328-
}
329-
},
330-
"then": {
331-
"$ref": "http://asyncapi.com/bindings/ros2/0.1.0/operation.json"
332-
}
333-
}
334-
]
335-
},
336301
"ibmmq": {},
337302
"solace": {
338303
"properties": {

definitions/3.0.0/serverBindingsObject.json

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -149,41 +149,6 @@
149149
"sqs": {},
150150
"stomp": {},
151151
"redis": {},
152-
"ros2": {
153-
"properties": {
154-
"bindingVersion": {
155-
"enum": ["0.1.0"]
156-
}
157-
},
158-
"allOf": [
159-
{
160-
"description": "If no bindingVersion specified, use the latest binding",
161-
"if": {
162-
"not": {
163-
"required": [
164-
"bindingVersion"
165-
]
166-
}
167-
},
168-
"then": {
169-
"$ref": "http://asyncapi.com/bindings/ros2/0.1.0/server.json"
170-
}
171-
},
172-
{
173-
"if": {
174-
"required": [ "bindingVersion" ],
175-
"properties": {
176-
"bindingVersion": {
177-
"const": "0.1.0"
178-
}
179-
}
180-
},
181-
"then": {
182-
"$ref": "http://asyncapi.com/bindings/ros2/0.1.0/server.json"
183-
}
184-
}
185-
]
186-
},
187152
"ibmmq": {
188153
"properties": {
189154
"bindingVersion": {
@@ -319,4 +284,4 @@
319284
},
320285
"$schema": "http://json-schema.org/draft-07/schema#",
321286
"$id": "http://asyncapi.com/definitions/3.0.0/serverBindingsObject.json"
322-
}
287+
}

test/ajv-schemes.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ function bindingSchemes(ajv) {
5858
ajv.addSchema(require('@bindings/pulsar/0.1.0/channel.json'));
5959
ajv.addSchema(require('@bindings/pulsar/0.1.0/server.json'));
6060

61-
ajv.addSchema(require('@bindings/ros2/0.1.0/operation.json'));
62-
ajv.addSchema(require('@bindings/ros2/0.1.0/server.json'));
63-
6461
ajv.addSchema(require('@bindings/sns/0.1.0/channel.json'));
6562
ajv.addSchema(require('@bindings/sns/0.1.0/operation.json'));
6663

0 commit comments

Comments
 (0)