Skip to content

Regenerate client from commit f14e083 of spec repo #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"spec_versions": {
"v2": {
"apigentools_version": "1.1.0",
"regenerated": "2022-08-03 08:14:05.649493",
"spec_repo_commit": "634e010"
"regenerated": "2023-01-26 08:19:05.432695",
"spec_repo_commit": "f14e083"
}
}
}
53 changes: 53 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ paths:
description: Create a new lora device. Its info are saved on our database, and
on the lora provider network. Creates a device_v2 automatically
operationId: lora_devices_v1#create
parameters:
- explode: false
in: header
name: X-Organization
required: false
schema:
type: string
style: simple
requestBody:
content:
application/json:
Expand Down Expand Up @@ -3336,8 +3344,10 @@ components:
ArduinoDevicev2:
description: ArduinoDevicev2 media type (default view)
example:
no_sketch: true
metadata:
key: '{}'
connection_type: wifi
fqbn: fqbn
created_at: 2000-01-23T04:56:07.000+00:00
ota_compatible: true
Expand Down Expand Up @@ -3432,6 +3442,17 @@ components:
value: ""
ota_available: true
properties:
connection_type:
description: The type of the connections selected by the user when multiple
connections are available
enum:
- wifi
- eth
- wifiandsecret
- gsm
- nb
- lora
type: string
created_at:
description: Creation date of the device
format: date-time
Expand Down Expand Up @@ -3472,6 +3493,9 @@ components:
name:
description: The friendly name of the device
type: string
no_sketch:
description: True if the device type can not have an associated sketch
type: boolean
organization_id:
description: Id of the organization the device belongs to
format: uuid
Expand Down Expand Up @@ -5074,13 +5098,25 @@ components:
CreateDevicesV2Payload:
description: DeviceV2 describes a device.
example:
connection_type: wifi
serial: serial
user_id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91
fqbn: fqbn
name: name
wifi_fw_version: wifi_fw_version
type: mkrwifi1010
properties:
connection_type:
description: The type of the connections selected by the user when multiple
connections are available
enum:
- wifi
- eth
- wifiandsecret
- gsm
- nb
- lora
type: string
fqbn:
description: The fully qualified board name
type: string
Expand Down Expand Up @@ -5109,6 +5145,9 @@ components:
- envie_m7
- nanorp2040connect
- nicla_vision
- phone
- portenta_x8
- opta
type: string
user_id:
description: The user_id associated to the device. If absent it will be
Expand Down Expand Up @@ -5330,6 +5369,17 @@ components:
devicev2:
description: DeviceV2 describes a device.
properties:
connection_type:
description: The type of the connections selected by the user when multiple
connections are available
enum:
- wifi
- eth
- wifiandsecret
- gsm
- nb
- lora
type: string
fqbn:
description: The fully qualified board name
type: string
Expand Down Expand Up @@ -5358,6 +5408,9 @@ components:
- envie_m7
- nanorp2040connect
- nicla_vision
- phone
- portenta_x8
- opta
type: string
user_id:
description: The user_id associated to the device. If absent it will be
Expand Down
13 changes: 12 additions & 1 deletion api_lora_devices_v1.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/ArduinoDevicev2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
**CreatedAt** | [**time.Time**](time.Time.md) | Creation date of the device | [optional]
**Events** | [**[]ArduinoDevicev2SimpleProperties**](ArduinoDevicev2SimpleProperties.md) | ArduinoDevicev2SimplePropertiesCollection is the media type for an array of ArduinoDevicev2SimpleProperties (default view) | [optional]
**Fqbn** | **string** | The fully qualified board name | [optional]
Expand All @@ -14,6 +15,7 @@ Name | Type | Description | Notes
**LatestWifiFwVersion** | **string** | The latest version of the NINA/WIFI101 firmware available for this device | [optional]
**Metadata** | **map[string]interface{}** | The metadata of the device | [optional]
**Name** | **string** | The friendly name of the device |
**NoSketch** | **bool** | True if the device type can not have an associated sketch | [optional]
**OrganizationId** | **string** | Id of the organization the device belongs to | [optional]
**OtaAvailable** | **bool** | True if the device type is ready to receive OTA updated | [optional]
**OtaCompatible** | **bool** | True if the device type is OTA compatible | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/CreateDevicesV2Payload.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
**Fqbn** | **string** | The fully qualified board name | [optional]
**Name** | **string** | The friendly name of the device | [optional]
**Serial** | **string** | The serial uuid of the device | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Devicev2.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConnectionType** | **string** | The type of the connections selected by the user when multiple connections are available | [optional]
**Fqbn** | **string** | The fully qualified board name | [optional]
**Name** | **string** | The friendly name of the device | [optional]
**Serial** | **string** | The serial uuid of the device | [optional]
Expand Down
13 changes: 12 additions & 1 deletion docs/LoraDevicesV1Api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Method | HTTP request | Description

## LoraDevicesV1Create

> ArduinoLoradevicev1 LoraDevicesV1Create(ctx, createLoraDevicesV1Payload)
> ArduinoLoradevicev1 LoraDevicesV1Create(ctx, createLoraDevicesV1Payload, optional)

create lora_devices_v1

Expand All @@ -23,6 +23,17 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
**createLoraDevicesV1Payload** | [**CreateLoraDevicesV1Payload**](CreateLoraDevicesV1Payload.md)| |
**optional** | ***LoraDevicesV1CreateOpts** | optional parameters | nil if no parameters

### Optional Parameters

Optional parameters are passed through a pointer to a LoraDevicesV1CreateOpts struct


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------

**xOrganization** | **optional.String**| |

### Return type

Expand Down
4 changes: 4 additions & 0 deletions model_arduino_devicev2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions model_create_devices_v2_payload.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions model_devicev2.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.