From 411888d8db5f71e6a0d9790f2cd333febfb0b4b7 Mon Sep 17 00:00:00 2001 From: Joel Wetzell Date: Thu, 26 Mar 2026 15:13:26 -0500 Subject: [PATCH] align schema of udp server with reality --- internal/module/udp-server.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/module/udp-server.go b/internal/module/udp-server.go index 0bea9b9..5553bfc 100644 --- a/internal/module/udp-server.go +++ b/internal/module/udp-server.go @@ -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,