Skip to content

Commit 75ad040

Browse files
authored
RSDK-10680 - support commented code samples (viamrobotics#932)
1 parent cd8765e commit 75ad040

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/apis.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@
99
"args": ["\"16\""],
1010
"packagePath": "viam.components"
1111
},
12+
"button": {
13+
"func": "push",
14+
"packagePath": "viam.components",
15+
"commented": true,
16+
"hasReturn": false
17+
},
18+
"genericcomponent": {
19+
"func": "do_command",
20+
"args": ["{}"],
21+
"packagePath": "viam.components",
22+
"commented": true,
23+
"importName": "GenericComponent"
24+
},
1225
"camera": {
1326
"func": "get_image",
1427
"packagePath": "viam.components"
@@ -82,6 +95,13 @@
8295
"packagePath": "viam.services",
8396
"importName": "MLModelClient"
8497
},
98+
"genericservice": {
99+
"func": "do_command",
100+
"args": ["{}"],
101+
"packagePath": "viam.services",
102+
"commented": true,
103+
"importName": "GenericService"
104+
},
85105
"slam": {
86106
"func": "get_point_cloud_map",
87107
"packagePath": "viam.services",

0 commit comments

Comments
 (0)