mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-08-16 20:03:23 +00:00
add description information to params for processors
This commit is contained in:
@@ -20,18 +20,21 @@ func init() {
|
||||
Type: "object",
|
||||
Properties: map[string]*jsonschema.Schema{
|
||||
"bitSize": {
|
||||
Title: "Bit Size",
|
||||
Type: "integer",
|
||||
Enum: []any{32, 64},
|
||||
Default: json.RawMessage("32"),
|
||||
Title: "Bit Size",
|
||||
Description: "bit size of the resulting float",
|
||||
Type: "integer",
|
||||
Enum: []any{32, 64},
|
||||
Default: json.RawMessage("32"),
|
||||
},
|
||||
"min": {
|
||||
Title: "Minimum",
|
||||
Type: "number",
|
||||
Title: "Minimum",
|
||||
Description: "inclusive minimum value of the random float",
|
||||
Type: "number",
|
||||
},
|
||||
"max": {
|
||||
Title: "Maximum",
|
||||
Type: "number",
|
||||
Title: "Maximum",
|
||||
Description: "exclusive maximum value of the random float",
|
||||
Type: "number",
|
||||
},
|
||||
},
|
||||
Required: []string{"min", "max"},
|
||||
|
||||
Reference in New Issue
Block a user