align http.response.create schema with reality

This commit is contained in:
Joel Wetzell
2026-05-27 20:54:11 -05:00
parent dbeb1e8c29
commit 9b5a9ce6d0
+3 -3
View File
@@ -22,12 +22,12 @@ func init() {
Title: "Status Code", Title: "Status Code",
Type: "integer", Type: "integer",
}, },
"body": { "bodyTemplate": {
Title: "Body", Title: "Body Template",
Type: "string", Type: "string",
}, },
}, },
Required: []string{"status", "body"}, Required: []string{"status", "bodyTemplate"},
AdditionalProperties: &jsonschema.Schema{Not: &jsonschema.Schema{}}, AdditionalProperties: &jsonschema.Schema{Not: &jsonschema.Schema{}},
}, },
New: func(config config.ProcessorConfig) (Processor, error) { New: func(config config.ProcessorConfig) (Processor, error) {