mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-16 11:53:23 +00:00
align http.response.create schema with reality
This commit is contained in:
@@ -22,12 +22,12 @@ func init() {
|
||||
Title: "Status Code",
|
||||
Type: "integer",
|
||||
},
|
||||
"body": {
|
||||
Title: "Body",
|
||||
"bodyTemplate": {
|
||||
Title: "Body Template",
|
||||
Type: "string",
|
||||
},
|
||||
},
|
||||
Required: []string{"status", "body"},
|
||||
Required: []string{"status", "bodyTemplate"},
|
||||
AdditionalProperties: &jsonschema.Schema{Not: &jsonschema.Schema{}},
|
||||
},
|
||||
New: func(config config.ProcessorConfig) (Processor, error) {
|
||||
|
||||
Reference in New Issue
Block a user