From fe4c11424d0ad8b155fe1b45c95b5b472a536b8e Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Oct 2026 06:01:40 +0100 Subject: add location info to paths --- docs/openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/openapi.yaml b/docs/openapi.yaml index bb3e176..34d878b 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -1153,6 +1153,10 @@ components: properties: address: type: string + description: '`:`: a libp2p peer ID, a Mycelium public key, a node key for Tor.' + location: + type: [string, 'null'] + description: Where the path goes now. libp2p, the remote address of its connection; Tor, the onion service. Null for Mycelium (the address is where it goes), or with no connection. rttMs: type: [number, 'null'] description: Smoothed round-trip time of its PINGs (the keepalive's, and the paths layer's own); null before an answer. @@ -1457,6 +1461,8 @@ components: properties: address: type: string + location: + type: [string, 'null'] rttMs: type: [number, 'null'] down: -- cgit v1.3.1