Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
1afdda3e
Commit
1afdda3e
authored
Dec 16, 2024
by
Romain Courteaud
🐙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_json_rpc_api: fixup oneOf usage in the schema
parent
f54568c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
32 deletions
+22
-32
master/bt5/slapos_json_rpc_api/PathTemplateItem/portal_callables/SoftwareInstance_updateFromJSON.xml
...Item/portal_callables/SoftwareInstance_updateFromJSON.xml
+22
-32
No files found.
master/bt5/slapos_json_rpc_api/PathTemplateItem/portal_callables/SoftwareInstance_updateFromJSON.xml
View file @
1afdda3e
...
...
@@ -81,39 +81,25 @@
"description": "Software Instance",\n
"type": "object",\n
"additionalProperties": false,\n
"oneOf": [\n
{\n
"properties": {\n
"reference": {\n
"title": "Software Instance Id/Reference",\n
"type": "string",\n
"description": "The unique reference of the Software Instance, example: SOFTINST-1234"\n
}\n
},\n
"required": [\n
"reference"\n
]\n
},\n
{\n
"properties": {\n
"compute_node_id": {\n
"title": "Compute Node Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Node, used by Slap Client when an instance is requesting an instance"\n
},\n
"compute_partition_id": {\n
"title": "Compute Partition Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Partition, used by Slap Client when an instance is requesting an instance"\n
}\n
},\n
"required": [\n
"compute_node_id",\n
"compute_partition_id"\n
]\n
}\n
],\n
"properties": {\n
\n
"reference": {\n
"title": "Software Instance Id/Reference",\n
"type": "string",\n
"description": "The unique reference of the Software Instance, example: SOFTINST-1234"\n
},\n
\n
"compute_node_id": {\n
"title": "Compute Node Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Node, used by Slap Client when an instance is requesting an instance"\n
},\n
"compute_partition_id": {\n
"title": "Compute Partition Id",\n
"type": "string",\n
"description": "Id Of the Requesting Compute Partition, used by Slap Client when an instance is requesting an instance"\n
},\n
\n
"connection_parameters": {\n
"title": "Connections Parameters",\n
"type": "object",\n
...
...
@@ -152,6 +138,10 @@
},\n
"required": [\n
"portal_type"\n
],\n
"oneOf": [\n
{"required": ["reference"]},\n
{"required": ["compute_node_id", "compute_partition_id"]}\n
]\n
}\n
</string>
</value>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment