mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
b9ad2977de
* Fixing the check of createKey in handleConfigSetCommand * Update schema-config.json * add overwrite option to configset command * add overwrite option to setConfig function * add overwrite option to setConfig function
30 lines
458 B
JSON
30 lines
458 B
JSON
{
|
|
"type":"object",
|
|
"required":true,
|
|
"properties":{
|
|
"command": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["config"]
|
|
},
|
|
"subcommand": {
|
|
"type" : "string",
|
|
"required" : true,
|
|
"enum" : ["getconfig","setconfig","getschema"]
|
|
},
|
|
"tan" : {
|
|
"type" : "integer"
|
|
},
|
|
"config": {
|
|
"type" : "object"
|
|
},
|
|
"create": {
|
|
"type" : "boolean"
|
|
},
|
|
"overwrite": {
|
|
"type" : "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|