From 64efc27042d6534e47c2c4e8cc02666ee2b5d1e6 Mon Sep 17 00:00:00 2001 From: "Enot (ded) Skelly" Date: Tue, 9 Jun 2026 08:35:13 -0700 Subject: [PATCH] fix: forgot to update swagger for traces rawPath --- docs/docs.go | 18 ++++++++++++++++++ docs/swagger.json | 18 ++++++++++++++++++ docs/swagger.yaml | 12 ++++++++++++ 3 files changed, 48 insertions(+) diff --git a/docs/docs.go b/docs/docs.go index 402b400..acd1596 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2972,6 +2972,18 @@ const docTemplate = `{ } } }, + "github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop": { + "type": "object", + "properties": { + "hash": { + "description": "hex-encoded path hash", + "type": "string" + }, + "snr": { + "type": "number" + } + } + }, "github_com_MeshCore-Beacon_beacon-server_internal_api.Region": { "type": "object", "properties": { @@ -3228,6 +3240,12 @@ const docTemplate = `{ "packetHash": { "type": "string" }, + "rawPath": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop" + } + }, "resolvedRoute": { "type": "array", "items": { diff --git a/docs/swagger.json b/docs/swagger.json index 2aa6056..7197c85 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2970,6 +2970,18 @@ } } }, + "github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop": { + "type": "object", + "properties": { + "hash": { + "description": "hex-encoded path hash", + "type": "string" + }, + "snr": { + "type": "number" + } + } + }, "github_com_MeshCore-Beacon_beacon-server_internal_api.Region": { "type": "object", "properties": { @@ -3226,6 +3238,12 @@ "packetHash": { "type": "string" }, + "rawPath": { + "type": "array", + "items": { + "$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop" + } + }, "resolvedRoute": { "type": "array", "items": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 0c1bc8f..29446bd 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -734,6 +734,14 @@ definitions: description: '"observer" or "node"' type: string type: object + github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop: + properties: + hash: + description: hex-encoded path hash + type: string + snr: + type: number + type: object github_com_MeshCore-Beacon_beacon-server_internal_api.Region: properties: centerLat: @@ -906,6 +914,10 @@ definitions: type: integer packetHash: type: string + rawPath: + items: + $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.RawHop' + type: array resolvedRoute: items: $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop'