1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

Feature plugins framework: presets REST API generated code

This commit is contained in:
f4exb
2020-09-28 13:57:26 +02:00
parent 8365658599
commit 5f43ace810
10 changed files with 597 additions and 2 deletions
+39 -1
View File
@@ -3000,6 +3000,18 @@ margin-bottom: 20px;
}
},
"description" : "Base feature actions. Only the feature actions corresponding to the feature specified in the featureType field is or should be present."
};
defs.FeatureConfig = {
"properties" : {
"featureIdURI" : {
"type" : "string",
"description" : "Feature type ID in URI form"
},
"config" : {
"$ref" : "#/definitions/FeatureSettings"
}
},
"description" : "Represents a FeatureSetPreset::FeatureConfig object"
};
defs.FeatureReport = {
"required" : [ "featureType" ],
@@ -3047,6 +3059,23 @@ margin-bottom: 20px;
}
},
"description" : "List of feature sets opened in this instance"
};
defs.FeatureSetPreset = {
"properties" : {
"group" : {
"type" : "string"
},
"description" : {
"type" : "string"
},
"featureConfigs" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/FeatureConfig"
}
}
},
"description" : "Represents a Feature Set Preset object"
};
defs.FeatureSettings = {
"required" : [ "featureType" ],
@@ -3838,6 +3867,9 @@ margin-bottom: 20px;
"workingPreset" : {
"$ref" : "#/definitions/Preset"
},
"workingFeatureSetPreset" : {
"$ref" : "#/definitions/FeatureSetPreset"
},
"presets" : {
"type" : "array",
"items" : {
@@ -3849,6 +3881,12 @@ margin-bottom: 20px;
"items" : {
"$ref" : "#/definitions/Command"
}
},
"featuresetpresets" : {
"type" : "array",
"items" : {
"$ref" : "#/definitions/FeatureSetPreset"
}
}
},
"description" : "Preferences, Presets and Commands of the MainSettings saved by Qt"
@@ -38907,7 +38945,7 @@ except ApiException as e:
</div>
<div id="generator">
<div class="content">
Generated 2020-09-28T13:34:44.975+02:00
Generated 2020-09-28T13:50:10.100+02:00
</div>
</div>
</div>
@@ -2150,6 +2150,8 @@ definitions:
$ref: "/doc/swagger/include/Preferences.yaml#/Preferences"
workingPreset:
$ref: "/doc/swagger/include/Preset.yaml#/Preset"
workingFeatureSetPreset:
$ref: "/doc/swagger/include/FeatureSetPreset.yaml#/FeatureSetPreset"
presets:
type: array
items:
@@ -2158,6 +2160,10 @@ definitions:
type: array
items:
$ref: "/doc/swagger/include/Command.yaml#/Command"
featuresetpresets:
type: array
items:
$ref: "/doc/swagger/include/FeatureSetPreset.yaml#/FeatureSetPreset"
InstanceDevicesResponse:
description: "Summarized information about logical devices from hardware devices attached to this SDRangel instance"