From 66b86c698ffad908c501116f303922e72d80a0ec Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 11 Sep 2026 10:03:55 +0100 Subject: [PATCH] Fix YAMLs --- swagger/sdrangel/api/swagger/include/BFMDemod.yaml | 2 +- swagger/sdrangel/api/swagger/include/DABDemod.yaml | 2 +- swagger/sdrangel/api/swagger/include/GLSpectrum.yaml | 2 ++ swagger/sdrangel/api/swagger/include/Map.yaml | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/swagger/sdrangel/api/swagger/include/BFMDemod.yaml b/swagger/sdrangel/api/swagger/include/BFMDemod.yaml index 84d46fa0b..203654810 100644 --- a/swagger/sdrangel/api/swagger/include/BFMDemod.yaml +++ b/swagger/sdrangel/api/swagger/include/BFMDemod.yaml @@ -130,7 +130,7 @@ BFMDemodReport: type: number format: float rdsReport: - $ref: "#/RDSReport" + $ref: "http://swgserver:8081/api/swagger/include/BFMDemod.yaml#/RDSReport" description: "RDS decoder status and decoded programme information." RDSReport: diff --git a/swagger/sdrangel/api/swagger/include/DABDemod.yaml b/swagger/sdrangel/api/swagger/include/DABDemod.yaml index 77090dcb1..977bdecd7 100644 --- a/swagger/sdrangel/api/swagger/include/DABDemod.yaml +++ b/swagger/sdrangel/api/swagger/include/DABDemod.yaml @@ -111,7 +111,7 @@ DABDemodReport: type: array description: "Programme services discovered in the currently tuned ensemble." items: - $ref: "#/DABProgram" + $ref: "http://swgserver:8081/api/swagger/include/DABDemod.yaml#/DABProgram" selectedProgram: type: string description: "Exact service label currently requested by the program setting." diff --git a/swagger/sdrangel/api/swagger/include/GLSpectrum.yaml b/swagger/sdrangel/api/swagger/include/GLSpectrum.yaml index 8e7486f2c..a86e6cd47 100644 --- a/swagger/sdrangel/api/swagger/include/GLSpectrum.yaml +++ b/swagger/sdrangel/api/swagger/include/GLSpectrum.yaml @@ -235,10 +235,12 @@ GLSpectrum: frequencyZoomFactor: description: Horizontal frequency zoom factor. type: number + format: float minimum: 1 frequencyZoomPos: description: Horizontal frequency-zoom position as a fraction of the span. type: number + format: float minimum: 0 maximum: 1 waterfallTimeUnits: diff --git a/swagger/sdrangel/api/swagger/include/Map.yaml b/swagger/sdrangel/api/swagger/include/Map.yaml index 2eddc5166..1cd375ae9 100644 --- a/swagger/sdrangel/api/swagger/include/Map.yaml +++ b/swagger/sdrangel/api/swagger/include/Map.yaml @@ -52,6 +52,7 @@ MapSettings: lightIntensity: description: Camera light intensity used by the 3D map. type: number + format: float minimum: 0 eciCamera: description: Use an ECI rather than ECEF camera frame (1 for yes, 0 for no).