Commit 9eee3a6d authored by Jérome Perrin's avatar Jérome Perrin

software/{erp5,jstestnode}: define default for testrunner oneOf schemas

https://rjsf-team.github.io/react-jsonschema-form/ can handle this
correctly, but needs a default along with the const.
parent a8150a1a
......@@ -565,7 +565,8 @@
"target": {
"description": "Target system",
"type": "string",
"const": "selenium-server"
"const": "selenium-server",
"default": "selenium-server"
},
"server-url": {
"description": "URL of the selenium server",
......
......@@ -64,7 +64,8 @@
"target": {
"description": "Target system",
"type": "string",
"const": "selenium-server"
"const": "selenium-server",
"default": "selenium-server"
},
"server-url": {
"description": "URL of the selenium server",
......@@ -128,7 +129,8 @@
"target": {
"description": "Target system",
"const": "node",
"type": "string"
"type": "string",
"default": "node"
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment