fix: update swagger with licesne and version

This commit is contained in:
Enot (ded) Skelly
2026-06-11 15:58:58 -07:00
parent 47d61f5283
commit 07c724a32a
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ const docTemplate = `{
"url": "https://github.com/MeshCore-Beacon/beacon-server"
},
"license": {
"name": "MIT"
"name": "AGPL-3-or-later"
},
"version": "[[.Version]]"
},
@@ -3530,7 +3530,7 @@ const docTemplate = `{
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Version: "1.3.0",
Host: "localhost:8080",
BasePath: "/api/v1",
Schemes: []string{"http", "https"},
+2 -2
View File
@@ -13,9 +13,9 @@
"url": "https://github.com/MeshCore-Beacon/beacon-server"
},
"license": {
"name": "MIT"
"name": "AGPL-3-or-later"
},
"version": "1.0"
"version": "1.3.0"
},
"host": "localhost:8080",
"basePath": "/api/v1",
+2 -2
View File
@@ -1007,10 +1007,10 @@ info:
description: MeshCore network observation backend. Ingests LoRa packets from MQTT
brokers, stores in PostgreSQL, and streams live events via WebSocket.
license:
name: MIT
name: AGPL-3-or-later
termsOfService: https://github.com/MeshCore-Beacon/beacon-server
title: MeshCore Beacon API
version: "1.0"
version: 1.3.0
paths:
/brokers:
get: