align schema of udp server with reality

This commit is contained in:
Joel Wetzell
2026-03-26 15:13:26 -05:00
parent e367d6eb5d
commit 411888d8db

View File

@@ -2,6 +2,7 @@ package module
import (
"context"
"encoding/json"
"errors"
"fmt"
"log/slog"
@@ -40,6 +41,13 @@ func init() {
Minimum: jsonschema.Ptr[float64](1024),
Maximum: jsonschema.Ptr[float64](65535),
},
"bufferSize": {
Title: "Buffer Size",
Type: "integer",
Minimum: jsonschema.Ptr[float64](1),
Maximum: jsonschema.Ptr[float64](65535),
Default: json.RawMessage("2048"),
},
},
Required: []string{"ip", "port"},
AdditionalProperties: nil,