mirror of https://github.com/f4exb/sdrangel.git
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:
|
ChannelActions:
|
||||||
description: Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present.
|
description: Base channel actions. Only the channel actions corresponding to the channel specified in the channelType field is or should be present.
|
||||||
discriminator: channelType
|
discriminator: channelType
|
||||||
required:
|
required:
|
||||||
- channelType
|
- channelType
|
||||||
- direction
|
- direction
|
||||||
properties:
|
properties:
|
||||||
channelType:
|
channelType:
|
||||||
description: Channel type code
|
description: Channel type code
|
||||||
type: string
|
type: string
|
||||||
direction:
|
direction:
|
||||||
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
|
description: 0 for Rx only, 1 for Tx only or 2 for any number and direction (default 0)
|
||||||
type: integer
|
type: integer
|
||||||
originatorDeviceSetIndex:
|
originatorDeviceSetIndex:
|
||||||
description: Optional for reverse API. This is the device set index from where the message comes from.
|
description: Optional for reverse API. This is the device set index from where the message comes from.
|
||||||
type: integer
|
type: integer
|
||||||
originatorChannelIndex:
|
originatorChannelIndex:
|
||||||
description: Optional for reverse API. This is the channel index from where the message comes from.
|
description: Optional for reverse API. This is the channel index from where the message comes from.
|
||||||
type: integer
|
type: integer
|
||||||
FileSourceActions:
|
FileSourceActions:
|
||||||
$ref: "http://localhost:8081/api/swagger/include/FileSource.yaml#/FileSourceActions"
|
$ref: "http://localhost:8081/api/swagger/include/FileSource.yaml#/FileSourceActions"
|
||||||
|
|
|
@ -1388,7 +1388,7 @@ paths:
|
||||||
description: post an action on a device
|
description: post an action on a device
|
||||||
operationId: devicesetDeviceActionsPost
|
operationId: devicesetDeviceActionsPost
|
||||||
tags:
|
tags:
|
||||||
- Deviceset
|
- DeviceSet
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
name: deviceSetIndex
|
name: deviceSetIndex
|
||||||
|
@ -1647,7 +1647,7 @@ paths:
|
||||||
description: post an action or actions on a channel
|
description: post an action or actions on a channel
|
||||||
operationId: devicesetChannelActionsPost
|
operationId: devicesetChannelActionsPost
|
||||||
tags:
|
tags:
|
||||||
- Deviceset
|
- DeviceSet
|
||||||
parameters:
|
parameters:
|
||||||
- in: path
|
- in: path
|
||||||
name: deviceSetIndex
|
name: deviceSetIndex
|
||||||
|
|
Loading…
Reference in New Issue