Commit 01da3f54 authored by Karel Hanák's avatar Karel Hanák

Scheduler: fix GetTask response jsonschema

parent b66bb870
......@@ -64,8 +64,20 @@
}
},
"task": {
"type": "object",
"description": "Task."
"oneOf":[
{
"type": "array",
"description": "Tasks.",
"items": {
"type": "object"
}
},
{
"type": "object",
"description": "Task."
}
]
}
},
"required": [
......
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