Skip to content
Snippets Groups Projects
Commit 82455a3f authored by Markus Koetter's avatar Markus Koetter Committed by Tim Wickberg
Browse files

openapi/dbv0.0.38 - Add missing field for adding clusters in clusters list in openapi.json

Bug 12897

Co-authored by: Nathan Rini <nate@schedmd.com>
parent 81723959
No related branches found
No related tags found
No related merge requests found
......@@ -125,6 +125,8 @@ documents those changes that are of interest to users and administrators.
-- openapi/dbv0.0.38 - Correct het job details types in jobs in openapi.json
-- openapi/dbv0.0.38 - Correct task type for job steps in openapi.json.
-- openapi/dbv0.0.38 - Sync fields for errors to source in openapi.json.
-- openapi/dbv0.0.38 - Add missing field for adding clusters in clusters list
in openapi.json.
 
* Changes in Slurm 21.08.7
==========================
......
......@@ -194,6 +194,8 @@
<li>.components.schemas."dbv0.0.38_error".properties.error_number</li>
<li>.components.schemas."dbv0.0.38_error".properties.source</li>
<li>.components.schemas."dbv0.0.38_error".properties.description</li>
<li>.components.schemas."/clusters/".properties.post.properties.requestBody</li>
<li>.components.schemas."dbv0.0.38_clusters_properties"</li>
</ul>
</td>
</tr>
......
......@@ -1027,7 +1027,23 @@
}
}
},
"summary": "Add clusters"
"summary": "Add clusters",
"requestBody": {
"description": "Add or update clusters",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/dbv0.0.38_clusters_properties"
}
},
"application/x-yaml": {
"schema": {
"$ref": "#/components/schemas/dbv0.0.38_clusters_properties"
}
}
},
"required": true
}
}
},
"/wckey/{wckey}": {
......@@ -3711,6 +3727,14 @@
}
}
}
},
"dbv0.0.38_clusters_properties": {
"type": "object",
"properties": {
"clusters": {
"$ref": "#/components/schemas/dbv0.0.38_cluster_info"
}
}
}
}
}
......
......@@ -1951,11 +1951,7 @@
"description": "number of assigned job hosts"
},
"allocated_nodes": {
"type": "object",
"description": "node allocations",
"properties": {
"$ref": "#/components/schemas/v0.0.38_node_allocation"
}
"$ref": "#/components/schemas/v0.0.38_node_allocation"
}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment