Skip to content

Commit f14e083

Browse files
authored
Update swagger 25 January 2023 (#79)
* Update swagger 25 January 2023
1 parent c97c2c3 commit f14e083

File tree

6 files changed

+66
-2928
lines changed

6 files changed

+66
-2928
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 2923 deletions
Large diffs are not rendered by default.

config/languages/go_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"gitRepoId": "iot-client-go",
44
"isGoSubmodule": false,
55
"packageName": "iot",
6-
"packageVersion": "1.4.3",
6+
"packageVersion": "1.4.4",
77
"withGoCodegenComment": true
88
}

config/languages/html2_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"packageName": "iot",
3-
"packageVersion": "1.4.3",
3+
"packageVersion": "1.4.4",
44
"usePromises": true
55
}

config/languages/javascript_v2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"projectName": "@arduino/arduino-iot-client",
33
"moduleName": "ArduinoIotClient",
4-
"projectVersion": "1.4.3",
5-
"packageVersion": "1.4.3",
4+
"projectVersion": "1.4.4",
5+
"packageVersion": "1.4.4",
66
"usePromises": true,
77
"licenseName":"GPLv3",
88
"generateSourceCodeOnly": true

config/languages/python_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "iot_api_client",
33
"projectName": "arduino-iot-client",
4-
"packageVersion": "1.4.3",
4+
"packageVersion": "1.4.4",
55
"generateSourceCodeOnly": true
66
}

spec/v2/swagger.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,17 @@ components:
128128
ArduinoDevicev2:
129129
description: ArduinoDevicev2 media type (default view)
130130
properties:
131+
connection_type:
132+
description: The type of the connections selected by the user when multiple
133+
connections are available
134+
enum:
135+
- wifi
136+
- eth
137+
- wifiandsecret
138+
- gsm
139+
- nb
140+
- lora
141+
type: string
131142
created_at:
132143
description: Creation date of the device
133144
format: date-time
@@ -162,6 +173,9 @@ components:
162173
name:
163174
description: The friendly name of the device
164175
type: string
176+
no_sketch:
177+
description: True if the device type can not have an associated sketch
178+
type: boolean
165179
organization_id:
166180
description: Id of the organization the device belongs to
167181
format: uuid
@@ -1247,6 +1261,17 @@ components:
12471261
CreateDevicesV2Payload:
12481262
description: DeviceV2 describes a device.
12491263
properties:
1264+
connection_type:
1265+
description: The type of the connections selected by the user when multiple
1266+
connections are available
1267+
enum:
1268+
- wifi
1269+
- eth
1270+
- wifiandsecret
1271+
- gsm
1272+
- nb
1273+
- lora
1274+
type: string
12501275
fqbn:
12511276
description: The fully qualified board name
12521277
type: string
@@ -1275,6 +1300,9 @@ components:
12751300
- envie_m7
12761301
- nanorp2040connect
12771302
- nicla_vision
1303+
- phone
1304+
- portenta_x8
1305+
- opta
12781306
type: string
12791307
user_id:
12801308
description: The user_id associated to the device. If absent it will be
@@ -1449,6 +1477,17 @@ components:
14491477
devicev2:
14501478
description: DeviceV2 describes a device.
14511479
properties:
1480+
connection_type:
1481+
description: The type of the connections selected by the user when multiple
1482+
connections are available
1483+
enum:
1484+
- wifi
1485+
- eth
1486+
- wifiandsecret
1487+
- gsm
1488+
- nb
1489+
- lora
1490+
type: string
14521491
fqbn:
14531492
description: The fully qualified board name
14541493
type: string
@@ -1477,6 +1516,9 @@ components:
14771516
- envie_m7
14781517
- nanorp2040connect
14791518
- nicla_vision
1519+
- phone
1520+
- portenta_x8
1521+
- opta
14801522
type: string
14811523
user_id:
14821524
description: The user_id associated to the device. If absent it will be
@@ -1949,6 +1991,11 @@ paths:
19491991
description: Create a new lora device. Its info are saved on our database, and
19501992
on the lora provider network. Creates a device_v2 automatically
19511993
operationId: lora_devices_v1#create
1994+
parameters:
1995+
- in: header
1996+
name: X-Organization
1997+
schema:
1998+
type: string
19521999
requestBody:
19532000
content:
19542001
application/json:

0 commit comments

Comments
 (0)