1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-06-12 19:42:34 -04:00

Swagger schema fixes

This commit is contained in:
f4exb 2025-05-29 12:48:11 +02:00
parent 3d3195489a
commit 28077752a9
12 changed files with 36 additions and 30 deletions

View File

@ -5530,6 +5530,7 @@ margin-bottom: 20px;
"description" : "List of DV serial devices available in the system" "description" : "List of DV serial devices available in the system"
}; };
defs.DemodAnalyzerActions = { defs.DemodAnalyzerActions = {
"required" : [ "channelId", "deviceId" ],
"properties" : { "properties" : {
"deviceId" : { "deviceId" : {
"type" : "integer", "type" : "integer",
@ -10587,6 +10588,7 @@ margin-bottom: 20px;
"description" : "MetisMISOSettings" "description" : "MetisMISOSettings"
}; };
defs.MorseDecoderActions = { defs.MorseDecoderActions = {
"required" : [ "channelId", "deviceId" ],
"properties" : { "properties" : {
"deviceId" : { "deviceId" : {
"type" : "integer", "type" : "integer",
@ -13257,10 +13259,12 @@ margin-bottom: 20px;
"type" : "integer" "type" : "integer"
}, },
"deviceIndex" : { "deviceIndex" : {
"type" : "integer" "type" : "integer",
"description" : "remote SDRangel instance deviceset index"
}, },
"channelIndex" : { "channelIndex" : {
"type" : "integer" "type" : "integer",
"description" : "remote SDRangel instance channel index"
}, },
"useReverseAPI" : { "useReverseAPI" : {
"type" : "integer", "type" : "integer",
@ -17230,7 +17234,8 @@ margin-bottom: 20px;
}, },
"nbLeadTime" : { "nbLeadTime" : {
"type" : "number", "type" : "number",
"format" : "float" "format" : "float",
"description" : "Advance time (s)"
}, },
"nbLagTime" : { "nbLagTime" : {
"type" : "number", "type" : "number",
@ -59472,7 +59477,7 @@ except ApiException as e:
</div> </div>
<div id="generator"> <div id="generator">
<div class="content"> <div class="content">
Generated 2025-05-03T17:59:40.379+02:00 Generated 2025-05-29T12:27:25.321+02:00
</div> </div>
</div> </div>
</div> </div>

View File

@ -42,12 +42,13 @@ DemodAnalyzerSettings:
DemodAnalyzerActions: DemodAnalyzerActions:
description: "Demod Analyzer actions" description: "Demod Analyzer actions"
required:
- deviceId
- channelId
properties: properties:
deviceId: deviceId:
type: integer type: integer
required: true
description: "Device Id/Number that channel belongs to" description: "Device Id/Number that channel belongs to"
channelId: channelId:
type: integer type: integer
required: true
description: "Channel Id/Number of the channel within the device" description: "Channel Id/Number of the channel within the device"

View File

@ -59,12 +59,13 @@ MorseDecoderSettings:
MorseDecoderActions: MorseDecoderActions:
description: "Morse Decoder actions" description: "Morse Decoder actions"
required:
- deviceId
- channelId
properties: properties:
deviceId: deviceId:
type: integer type: integer
required: true
description: "Device Id/Number that channel belongs to" description: "Device Id/Number that channel belongs to"
channelId: channelId:
type: integer type: integer
required: true
description: "Channel Id/Number of the channel within the device" description: "Channel Id/Number of the channel within the device"

View File

@ -19,10 +19,10 @@ RemoteOutputSettings:
dataPort: dataPort:
type: integer type: integer
deviceIndex: deviceIndex:
device: remote SDRangel instance deviceset index description: remote SDRangel instance deviceset index
type: integer type: integer
channelIndex: channelIndex:
device: remote SDRangel instance channel index description: remote SDRangel instance channel index
type: integer type: integer
useReverseAPI: useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no) description: Synchronize with reverse API (1 for yes, 0 for no)

View File

@ -76,7 +76,7 @@ WDSPRxSettings:
nbLeadTime: nbLeadTime:
type: number type: number
format: float format: float
descriuption: Advance time (s) description: Advance time (s)
nbLagTime: nbLagTime:
type: number type: number
format: float format: float

View File

@ -2973,7 +2973,6 @@ definitions:
FeatureSet: FeatureSet:
description: "Grouping of features" description: "Grouping of features"
required: required:
- index
- featurecount - featurecount
properties: properties:
featurecount: featurecount:
@ -3018,7 +3017,6 @@ definitions:
required: required:
- index - index
- hwType - hwType
- streamIndex
- sequence - sequence
- serial - serial
- centerFrequency - centerFrequency
@ -3422,7 +3420,6 @@ definitions:
description: "Group of configuration" description: "Group of configuration"
required: required:
- groupName - groupName
- nbPresets
properties: properties:
groupName: groupName:
description: "Name of the configuration group" description: "Name of the configuration group"
@ -3530,4 +3527,3 @@ responses:
description: Function not implemented description: Function not implemented
schema: schema:
$ref: "#/definitions/ErrorResponse" $ref: "#/definitions/ErrorResponse"

View File

@ -42,12 +42,13 @@ DemodAnalyzerSettings:
DemodAnalyzerActions: DemodAnalyzerActions:
description: "Demod Analyzer actions" description: "Demod Analyzer actions"
required:
- deviceId
- channelId
properties: properties:
deviceId: deviceId:
type: integer type: integer
required: true
description: "Device Id/Number that channel belongs to" description: "Device Id/Number that channel belongs to"
channelId: channelId:
type: integer type: integer
required: true
description: "Channel Id/Number of the channel within the device" description: "Channel Id/Number of the channel within the device"

View File

@ -59,12 +59,13 @@ MorseDecoderSettings:
MorseDecoderActions: MorseDecoderActions:
description: "Morse Decoder actions" description: "Morse Decoder actions"
required:
- deviceId
- channelId
properties: properties:
deviceId: deviceId:
type: integer type: integer
required: true
description: "Device Id/Number that channel belongs to" description: "Device Id/Number that channel belongs to"
channelId: channelId:
type: integer type: integer
required: true
description: "Channel Id/Number of the channel within the device" description: "Channel Id/Number of the channel within the device"

View File

@ -19,10 +19,10 @@ RemoteOutputSettings:
dataPort: dataPort:
type: integer type: integer
deviceIndex: deviceIndex:
device: remote SDRangel instance deviceset index description: remote SDRangel instance deviceset index
type: integer type: integer
channelIndex: channelIndex:
device: remote SDRangel instance channel index description: remote SDRangel instance channel index
type: integer type: integer
useReverseAPI: useReverseAPI:
description: Synchronize with reverse API (1 for yes, 0 for no) description: Synchronize with reverse API (1 for yes, 0 for no)

View File

@ -76,7 +76,7 @@ WDSPRxSettings:
nbLeadTime: nbLeadTime:
type: number type: number
format: float format: float
descriuption: Advance time (s) description: Advance time (s)
nbLagTime: nbLagTime:
type: number type: number
format: float format: float

View File

@ -2973,7 +2973,6 @@ definitions:
FeatureSet: FeatureSet:
description: "Grouping of features" description: "Grouping of features"
required: required:
- index
- featurecount - featurecount
properties: properties:
featurecount: featurecount:
@ -3018,7 +3017,6 @@ definitions:
required: required:
- index - index
- hwType - hwType
- streamIndex
- sequence - sequence
- serial - serial
- centerFrequency - centerFrequency
@ -3422,7 +3420,6 @@ definitions:
description: "Group of configuration" description: "Group of configuration"
required: required:
- groupName - groupName
- nbPresets
properties: properties:
groupName: groupName:
description: "Name of the configuration group" description: "Name of the configuration group"
@ -3530,4 +3527,3 @@ responses:
description: Function not implemented description: Function not implemented
schema: schema:
$ref: "#/definitions/ErrorResponse" $ref: "#/definitions/ErrorResponse"

View File

@ -5530,6 +5530,7 @@ margin-bottom: 20px;
"description" : "List of DV serial devices available in the system" "description" : "List of DV serial devices available in the system"
}; };
defs.DemodAnalyzerActions = { defs.DemodAnalyzerActions = {
"required" : [ "channelId", "deviceId" ],
"properties" : { "properties" : {
"deviceId" : { "deviceId" : {
"type" : "integer", "type" : "integer",
@ -10587,6 +10588,7 @@ margin-bottom: 20px;
"description" : "MetisMISOSettings" "description" : "MetisMISOSettings"
}; };
defs.MorseDecoderActions = { defs.MorseDecoderActions = {
"required" : [ "channelId", "deviceId" ],
"properties" : { "properties" : {
"deviceId" : { "deviceId" : {
"type" : "integer", "type" : "integer",
@ -13257,10 +13259,12 @@ margin-bottom: 20px;
"type" : "integer" "type" : "integer"
}, },
"deviceIndex" : { "deviceIndex" : {
"type" : "integer" "type" : "integer",
"description" : "remote SDRangel instance deviceset index"
}, },
"channelIndex" : { "channelIndex" : {
"type" : "integer" "type" : "integer",
"description" : "remote SDRangel instance channel index"
}, },
"useReverseAPI" : { "useReverseAPI" : {
"type" : "integer", "type" : "integer",
@ -17230,7 +17234,8 @@ margin-bottom: 20px;
}, },
"nbLeadTime" : { "nbLeadTime" : {
"type" : "number", "type" : "number",
"format" : "float" "format" : "float",
"description" : "Advance time (s)"
}, },
"nbLagTime" : { "nbLagTime" : {
"type" : "number", "type" : "number",
@ -59472,7 +59477,7 @@ except ApiException as e:
</div> </div>
<div id="generator"> <div id="generator">
<div class="content"> <div class="content">
Generated 2025-05-03T17:59:40.379+02:00 Generated 2025-05-29T12:27:25.321+02:00
</div> </div>
</div> </div>
</div> </div>