fix: forgot to update swagger for traces rawPath

This commit is contained in:
Enot (ded) Skelly
2026-06-09 08:35:13 -07:00
parent 8e2b7f4c3e
commit 64efc27042
3 changed files with 48 additions and 0 deletions
+18
View File
@@ -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": {
+18
View File
@@ -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": {
+12
View File
@@ -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'