1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 07:23:38 -04:00

REST API device and channel actions: added missing parts of generated code

This commit is contained in:
f4exb
2020-03-10 08:36:15 +01:00
parent 07c11edb87
commit 3e47aefd13
12 changed files with 1125 additions and 0 deletions
@@ -0,0 +1,21 @@
ChannelActions:
description: Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present.
discriminator: channelType
required:
- channelType
- direction
properties:
channelType:
description: Channel type code
type: string
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorDeviceSetIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
originatorChannelIndex:
description: Optional for reverse API. This is the channel index from where the message comes from.
type: integer
FileSourceActions:
$ref: "/doc/swagger/include/FileSource.yaml#/FileSourceActions"
@@ -0,0 +1,18 @@
DeviceActions:
description: Base device actions. Only the device actions corresponding to the device specified in the deviceHwType field is or should be present.
discriminator: deviceHwType
required:
- deviceHwType
- direction
properties:
deviceHwType:
description: Device hardware type code
type: string
direction:
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
type: integer
originatorIndex:
description: Optional for reverse API. This is the device set index from where the message comes from.
type: integer
rtlSdrActions:
$ref: "/doc/swagger/include/RtlSdr.yaml#/RtlSdrActions"