Commit 7fb78755 authored by Romain Courteaud's avatar Romain Courteaud

slapos_json_rpc_api: fix additionalProperties usage

parent e5c3e2dd
...@@ -45,9 +45,10 @@ ...@@ -45,9 +45,10 @@
"title": "Get Compute Node",\n "title": "Get Compute Node",\n
"description": "Data necessary to get Compute Node",\n "description": "Data necessary to get Compute Node",\n
"type": "object",\n "type": "object",\n
"additionalProperties": false,\n
"oneOf": [\n "oneOf": [\n
{\n {\n
"type": "object",\n
"additionalProperties": false,\n
"properties": {\n "properties": {\n
"reference": {\n "reference": {\n
"title": "Software Instance Id/Reference",\n "title": "Software Instance Id/Reference",\n
...@@ -66,6 +67,8 @@ ...@@ -66,6 +67,8 @@
]\n ]\n
},\n },\n
{\n {\n
"type": "object",\n
"additionalProperties": false,\n
"properties": {\n "properties": {\n
"compute_node_id": {\n "compute_node_id": {\n
"title": "Compute Node Id",\n "title": "Compute Node Id",\n
......
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