docs(gateway): updated swagger doc

Signed-off-by: Klagarge <remi@heredero.ch>
This commit is contained in:
2025-04-15 00:26:05 +02:00
parent af893618c2
commit 0b57f26688
5 changed files with 495 additions and 5 deletions

View File

@@ -119,8 +119,8 @@ func (gh *Gateway) createMQTTGateway() error {
// Get env variables and set default values if not set
MQTT_URL, ok := os.LookupEnv("MQTT_URL")
if !ok {
log.Error("MQTT_URL not set, using default value: tcp://mqtt.mse.kb28.ch:1883")
MQTT_URL = "tcp://mqtt.mse.kb28.ch:1883"
log.Error("MQTT_URL not set, using default value: mqtt://mqtt.mse.kb28.ch:1883")
MQTT_URL = "mqtt://mqtt.mse.kb28.ch:1883"
}
CLIENT_ID, ok := os.LookupEnv("CLIENT_ID")