fix params schema for serial.client

This commit is contained in:
Joel Wetzell
2026-05-17 07:53:20 -05:00
parent ac2930b91b
commit acb834405e
+6 -1
View File
@@ -43,8 +43,13 @@ func init() {
Title: "Baud Rate",
Type: "integer",
},
"framing": {
Title: "Framing Method",
Type: "string",
Enum: []any{"LF", "CR", "CRLF", "SLIP", "RAW"},
},
},
Required: []string{"port", "baudRate"},
Required: []string{"port", "baudRate", "framing"},
AdditionalProperties: &jsonschema.Schema{Not: &jsonschema.Schema{}},
},
New: func(config config.ModuleConfig) (common.Module, error) {