mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
fix: forgot to update swagger for traces rawPath
This commit is contained in:
@@ -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": {
|
||||
|
||||
@@ -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": {
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user