From f6fe177a4e6180ce68d539fd6345bc8181b6edf7 Mon Sep 17 00:00:00 2001 From: MrAlders0n Date: Wed, 30 Sep 2026 10:28:03 -0400 Subject: [PATCH] docs: regenerate swagger --- docs/docs.go | 10 ++++------ docs/swagger.json | 10 ++++------ docs/swagger.yaml | 8 ++++---- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 288a70b..df1ccc9 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2170,7 +2170,7 @@ const docTemplate = `{ }, { "type": "integer", - "description": "Exclusive window end epoch ms; maximum span 30d, no future end", + "description": "Exclusive window end epoch ms; maximum span 30d, end may be up to 5 minutes ahead of server time (clock skew tolerance)", "name": "until", "in": "query" }, @@ -4080,7 +4080,8 @@ const docTemplate = `{ "type": "string" }, "statusMetadata": { - "description": "raw /status JSON payload" + "description": "raw /status JSON payload", + "type": "object" }, "uptimeSeconds": { "type": "integer" @@ -4631,7 +4632,7 @@ const docTemplate = `{ "type": "string" }, "summary": { - "description": "advert name from this packet; omitted when unavailable or unsupported", + "description": "advert name, or the ACK/TRACE/PING summary; omitted when unavailable", "type": "string" } } @@ -4973,9 +4974,6 @@ const docTemplate = `{ "matchType": { "type": "string" }, - "nextCursor": { - "type": "integer" - }, "nextPageCursor": { "type": "string" }, diff --git a/docs/swagger.json b/docs/swagger.json index 5679444..183611a 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -2168,7 +2168,7 @@ }, { "type": "integer", - "description": "Exclusive window end epoch ms; maximum span 30d, no future end", + "description": "Exclusive window end epoch ms; maximum span 30d, end may be up to 5 minutes ahead of server time (clock skew tolerance)", "name": "until", "in": "query" }, @@ -4078,7 +4078,8 @@ "type": "string" }, "statusMetadata": { - "description": "raw /status JSON payload" + "description": "raw /status JSON payload", + "type": "object" }, "uptimeSeconds": { "type": "integer" @@ -4629,7 +4630,7 @@ "type": "string" }, "summary": { - "description": "advert name from this packet; omitted when unavailable or unsupported", + "description": "advert name, or the ACK/TRACE/PING summary; omitted when unavailable", "type": "string" } } @@ -4971,9 +4972,6 @@ "matchType": { "type": "string" }, - "nextCursor": { - "type": "integer" - }, "nextPageCursor": { "type": "string" }, diff --git a/docs/swagger.yaml b/docs/swagger.yaml index a58626f..ca79d35 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -570,6 +570,7 @@ definitions: type: string statusMetadata: description: raw /status JSON payload + type: object uptimeSeconds: type: integer type: object @@ -956,7 +957,7 @@ definitions: description: matched transport scope name e.g. "#bc" type: string summary: - description: advert name from this packet; omitted when unavailable or unsupported + description: advert name, or the ACK/TRACE/PING summary; omitted when unavailable type: string type: object github_com_MeshCore-Beacon_beacon-server_internal_api.PacketTransportCodes: @@ -1183,8 +1184,6 @@ definitions: type: boolean matchType: type: string - nextCursor: - type: integer nextPageCursor: type: string pathBytes: @@ -2894,7 +2893,8 @@ paths: in: query name: since type: integer - - description: Exclusive window end epoch ms; maximum span 30d, no future end + - description: Exclusive window end epoch ms; maximum span 30d, end may be up + to 5 minutes ahead of server time (clock skew tolerance) in: query name: until type: integer