Skip to content

Commit df26e14

Browse files
github-actions[bot]ArduinoBot
andauthored
Regenerate client from commit f14e083 of spec repo (#66)
Co-authored-by: ArduinoBot <arduinobot@arduino.cc>
1 parent 861525a commit df26e14

10 files changed

+91
-4
lines changed

.apigentools-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"spec_versions": {
55
"v2": {
66
"apigentools_version": "1.1.0",
7-
"regenerated": "2022-08-03 08:14:05.649493",
8-
"spec_repo_commit": "634e010"
7+
"regenerated": "2023-01-26 08:19:05.432695",
8+
"spec_repo_commit": "f14e083"
99
}
1010
}
1111
}

api/openapi.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ paths:
1919
description: Create a new lora device. Its info are saved on our database, and
2020
on the lora provider network. Creates a device_v2 automatically
2121
operationId: lora_devices_v1#create
22+
parameters:
23+
- explode: false
24+
in: header
25+
name: X-Organization
26+
required: false
27+
schema:
28+
type: string
29+
style: simple
2230
requestBody:
2331
content:
2432
application/json:
@@ -3336,8 +3344,10 @@ components:
33363344
ArduinoDevicev2:
33373345
description: ArduinoDevicev2 media type (default view)
33383346
example:
3347+
no_sketch: true
33393348
metadata:
33403349
key: '{}'
3350+
connection_type: wifi
33413351
fqbn: fqbn
33423352
created_at: 2000-01-23T04:56:07.000+00:00
33433353
ota_compatible: true
@@ -3432,6 +3442,17 @@ components:
34323442
value: ""
34333443
ota_available: true
34343444
properties:
3445+
connection_type:
3446+
description: The type of the connections selected by the user when multiple
3447+
connections are available
3448+
enum:
3449+
- wifi
3450+
- eth
3451+
- wifiandsecret
3452+
- gsm
3453+
- nb
3454+
- lora
3455+
type: string
34353456
created_at:
34363457
description: Creation date of the device
34373458
format: date-time
@@ -3472,6 +3493,9 @@ components:
34723493
name:
34733494
description: The friendly name of the device
34743495
type: string
3496+
no_sketch:
3497+
description: True if the device type can not have an associated sketch
3498+
type: boolean
34753499
organization_id:
34763500
description: Id of the organization the device belongs to
34773501
format: uuid
@@ -5074,13 +5098,25 @@ components:
50745098
CreateDevicesV2Payload:
50755099
description: DeviceV2 describes a device.
50765100
example:
5101+
connection_type: wifi
50775102
serial: serial
50785103
user_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
50795104
fqbn: fqbn
50805105
name: name
50815106
wifi_fw_version: wifi_fw_version
50825107
type: mkrwifi1010
50835108
properties:
5109+
connection_type:
5110+
description: The type of the connections selected by the user when multiple
5111+
connections are available
5112+
enum:
5113+
- wifi
5114+
- eth
5115+
- wifiandsecret
5116+
- gsm
5117+
- nb
5118+
- lora
5119+
type: string
50845120
fqbn:
50855121
description: The fully qualified board name
50865122
type: string
@@ -5109,6 +5145,9 @@ components:
51095145
- envie_m7
51105146
- nanorp2040connect
51115147
- nicla_vision
5148+
- phone
5149+
- portenta_x8
5150+
- opta
51125151
type: string
51135152
user_id:
51145153
description: The user_id associated to the device. If absent it will be
@@ -5330,6 +5369,17 @@ components:
53305369
devicev2:
53315370
description: DeviceV2 describes a device.
53325371
properties:
5372+
connection_type:
5373+
description: The type of the connections selected by the user when multiple
5374+
connections are available
5375+
enum:
5376+
- wifi
5377+
- eth
5378+
- wifiandsecret
5379+
- gsm
5380+
- nb
5381+
- lora
5382+
type: string
53335383
fqbn:
53345384
description: The fully qualified board name
53355385
type: string
@@ -5358,6 +5408,9 @@ components:
53585408
- envie_m7
53595409
- nanorp2040connect
53605410
- nicla_vision
5411+
- phone
5412+
- portenta_x8
5413+
- opta
53615414
type: string
53625415
user_id:
53635416
description: The user_id associated to the device. If absent it will be

api_lora_devices_v1.go

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/ArduinoDevicev2.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
78
**CreatedAt** | [**time.Time**](time.Time.md) | Creation date of the device | [optional]
89
**Events** | [**[]ArduinoDevicev2SimpleProperties**](ArduinoDevicev2SimpleProperties.md) | ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view) | [optional]
910
**Fqbn** | **string** | The fully qualified board name | [optional]
@@ -14,6 +15,7 @@ Name | Type | Description | Notes
1415
**LatestWifiFwVersion** | **string** | The latest version of the NINA/WIFI101 firmware available for this device | [optional]
1516
**Metadata** | **map[string]interface{}** | The metadata of the device | [optional]
1617
**Name** | **string** | The friendly name of the device |
18+
**NoSketch** | **bool** | True if the device type can not have an associated sketch | [optional]
1719
**OrganizationId** | **string** | Id of the organization the device belongs to | [optional]
1820
**OtaAvailable** | **bool** | True if the device type is ready to receive OTA updated | [optional]
1921
**OtaCompatible** | **bool** | True if the device type is OTA compatible | [optional]

docs/CreateDevicesV2Payload.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
78
**Fqbn** | **string** | The fully qualified board name | [optional]
89
**Name** | **string** | The friendly name of the device | [optional]
910
**Serial** | **string** | The serial uuid of the device | [optional]

docs/Devicev2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7+
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
78
**Fqbn** | **string** | The fully qualified board name | [optional]
89
**Name** | **string** | The friendly name of the device | [optional]
910
**Serial** | **string** | The serial uuid of the device | [optional]

docs/LoraDevicesV1Api.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010

1111
## LoraDevicesV1Create
1212

13-
> ArduinoLoradevicev1 LoraDevicesV1Create(ctx, createLoraDevicesV1Payload)
13+
> ArduinoLoradevicev1 LoraDevicesV1Create(ctx, createLoraDevicesV1Payload, optional)
1414
1515
create lora_devices_v1
1616

@@ -23,6 +23,17 @@ Name | Type | Description | Notes
2323
------------- | ------------- | ------------- | -------------
2424
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
2525
**createLoraDevicesV1Payload** | [**CreateLoraDevicesV1Payload**](CreateLoraDevicesV1Payload.md)| |
26+
**optional** | ***LoraDevicesV1CreateOpts** | optional parameters | nil if no parameters
27+
28+
### Optional Parameters
29+
30+
Optional parameters are passed through a pointer to a LoraDevicesV1CreateOpts struct
31+
32+
33+
Name | Type | Description | Notes
34+
------------- | ------------- | ------------- | -------------
35+
36+
**xOrganization** | **optional.String**| |
2637

2738
### Return type
2839

model_arduino_devicev2.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model_create_devices_v2_payload.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

model_devicev2.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)