mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
fix: update swagger with licesne and version
This commit is contained in:
+2
-2
@@ -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
@@ -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
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user