APIS like /vcenter/vcha/cluster/mode have references to the structures with which have $ in their names. This causes schema validation error as $ is not allowed in the name.
"/vcenter/vcha/cluster/mode": {
"put": {
"tags": [
"vcha_cluster_mode"
],
"summary": "Manipulates the mode of a VCHA Cluster. Following mode transitions are allowed:\n enabled -> disabled - Allowed only in healthy and degraded states.\n enabled -> maintenance - Allowed only in healthy state.\n disabled -> enabled - Allowed only in healthy state.\n maintenance -> enabled - Allowed only in healthy state with all nodes are running the same version.\n maintenance -> disabled - Allowed only in healthy state with all nodes are running the same version.\n All other transitions are not allowed. \n VCHA Cluster configuration remains intact in any of the cluster modes.\n",
"parameters": [
{
"in": "body",
"name": "requestbody",
"required": true,
"schema": {
**"$ref": "#/definitions/vcenter.vcha.cluster.modeset$task"
}
}
],
"responses": {
"200": {
"description": "",
"schema": {
_"$ref": "#/definitions/vcenter.vcha.cluster.mode.set$taskresult"**
}
},
APIS like /vcenter/vcha/cluster/mode have references to the structures with which have $ in their names. This causes schema validation error as $ is not allowed in the name. "/vcenter/vcha/cluster/mode": { "put": { "tags": [ "vcha_cluster_mode" ], "summary": "Manipulates the mode of a VCHA Cluster. Following mode transitions are allowed:\n enabled -> disabled - Allowed only in healthy and degraded states.\n enabled -> maintenance - Allowed only in healthy state.\n disabled -> enabled - Allowed only in healthy state.\n maintenance -> enabled - Allowed only in healthy state with all nodes are running the same version.\n maintenance -> disabled - Allowed only in healthy state with all nodes are running the same version.\n All other transitions are not allowed. \n VCHA Cluster configuration remains intact in any of the cluster modes.\n", "parameters": [ { "in": "body", "name": "requestbody", "required": true, "schema": { **"$ref": "#/definitions/vcenter.vcha.cluster.modeset$task" } } ], "responses": { "200": { "description": "", "schema": { _"$ref": "#/definitions/vcenter.vcha.cluster.mode.set$taskresult"** } },