mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-25 17:28:50 -05:00
REST API device and channel actions: fixes to Swagger yaml files
This commit is contained in:
parent
3e47aefd13
commit
91e7496eae
@ -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: "http://localhost:8081/api/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: "http://localhost:8081/api/swagger/include/FileSource.yaml#/FileSourceActions"
|
||||
|
@ -1388,7 +1388,7 @@ paths:
|
||||
description: post an action on a device
|
||||
operationId: devicesetDeviceActionsPost
|
||||
tags:
|
||||
- Deviceset
|
||||
- DeviceSet
|
||||
parameters:
|
||||
- in: path
|
||||
name: deviceSetIndex
|
||||
@ -1647,7 +1647,7 @@ paths:
|
||||
description: post an action or actions on a channel
|
||||
operationId: devicesetChannelActionsPost
|
||||
tags:
|
||||
- Deviceset
|
||||
- DeviceSet
|
||||
parameters:
|
||||
- in: path
|
||||
name: deviceSetIndex
|
||||
|
Loading…
Reference in New Issue
Block a user