modify schema in a compatible way to maybe fix typescript sdk

This commit is contained in:
trinity-1686a
2026-03-05 00:13:55 +01:00
parent 582b168b6a
commit 1c12ca4caf
2 changed files with 29 additions and 23 deletions
+19 -16
View File
@@ -3922,23 +3922,26 @@
}
},
{
"allOf": [
{
"$ref": "#/components/schemas/NodeAssignedRole"
},
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "ID of the node for which this change applies"
}
}
"$ref": "#/components/schemas/NodeRoleUpdate"
}
]
},
"NodeRoleUpdate": {
"allOf": [
{
"$ref": "#/components/schemas/NodeAssignedRole"
},
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "ID of the node for which this change applies"
}
]
}
}
]
},