mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-10 07:29:25 +00:00
align http.response.create schema with reality
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user