mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-24 11:04:10 -04:00
REST API device and channel actions: generate swagger code
This commit is contained in:
@@ -1,21 +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"
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user