mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-02 00:58:22 +00:00
forgot swagger
This commit is contained in:
@@ -2884,6 +2884,9 @@ const docTemplate = `{
|
||||
"radio": {
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio"
|
||||
},
|
||||
"resolvedDestination": {
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
},
|
||||
"resolvedPath": {
|
||||
"description": "per-observation resolved path hashes",
|
||||
"type": "array",
|
||||
@@ -2891,6 +2894,14 @@ const docTemplate = `{
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
}
|
||||
},
|
||||
"resolvedSource": {
|
||||
"description": "ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type\ncarries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous\nhash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte\nsource/destination hashes. Nil when the payload type doesn't carry one at all (e.g.\nGRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and\nResolveExactNode for how each is built.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rssi": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
@@ -2882,6 +2882,9 @@
|
||||
"radio": {
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio"
|
||||
},
|
||||
"resolvedDestination": {
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
},
|
||||
"resolvedPath": {
|
||||
"description": "per-observation resolved path hashes",
|
||||
"type": "array",
|
||||
@@ -2889,6 +2892,14 @@
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
}
|
||||
},
|
||||
"resolvedSource": {
|
||||
"description": "ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type\ncarries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous\nhash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte\nsource/destination hashes. Nil when the payload type doesn't carry one at all (e.g.\nGRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and\nResolveExactNode for how each is built.",
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rssi": {
|
||||
"type": "integer"
|
||||
},
|
||||
|
||||
@@ -587,11 +587,23 @@ definitions:
|
||||
type: integer
|
||||
radio:
|
||||
$ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.PacketRadio'
|
||||
resolvedDestination:
|
||||
$ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop'
|
||||
resolvedPath:
|
||||
description: per-observation resolved path hashes
|
||||
items:
|
||||
$ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop'
|
||||
type: array
|
||||
resolvedSource:
|
||||
allOf:
|
||||
- $ref: '#/definitions/github_com_MeshCore-Beacon_beacon-server_internal_api.ResolvedHop'
|
||||
description: |-
|
||||
ResolvedSource/ResolvedDestination are the packet's endpoints, when the payload type
|
||||
carries a resolvable one: an exact match for ADVERT's full pubkey, an ambiguous
|
||||
hash-prefix match (like intermediate hops) for TEXT_MESSAGE/PATH/ANON_REQ's 1-byte
|
||||
source/destination hashes. Nil when the payload type doesn't carry one at all (e.g.
|
||||
GRP_TXT/GRP_DATA/TRACE aren't node-to-node addressed) -- see BuildResolvedPath and
|
||||
ResolveExactNode for how each is built.
|
||||
rssi:
|
||||
type: integer
|
||||
snr:
|
||||
|
||||
Reference in New Issue
Block a user