From 5d784f713b34b07f481b2f90ff90f31e681fa049 Mon Sep 17 00:00:00 2001 From: Vivek Sundararajan Date: Wed, 9 Nov 2022 01:09:31 -0800 Subject: [PATCH] fix validation errors. --- .../stable/2022-11-15/managedCassandra.json | 1106 +++++++---------- 1 file changed, 420 insertions(+), 686 deletions(-) diff --git a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/managedCassandra.json b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/managedCassandra.json index 371ac651badd..c360ce61cc2c 100644 --- a/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/managedCassandra.json +++ b/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2022-11-15/managedCassandra.json @@ -123,7 +123,7 @@ "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" }, { "$ref": "#/parameters/clusterNameParameter" @@ -691,575 +691,362 @@ } } }, - "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairStatus": { - "post": { - "tags": [ - "ClusterRepairStatus" - ], - "operationId": "GetRepairClusterStatus", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/definitions/CassandraReaperClusterStatus" - } - } - } - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairStatus": { + "post": { + "tags": [ + "ClusterRepairStatus" + ], + "operationId": "GetRepairClusterStatus", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairTables": { - "post": { - "tags": [ - "ClusterRepairTableStatus" - ], - "operationId": "GetRepairTableStatus", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CassandraReaperClusterStatus" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns": { - "post": { - "tags": [ - "RepairRunCreate" - ], - "operationId": "CreateRepairRun", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/definitions/CassandraClusterRepairPublicResource" - } - }, - "text/json": { - "schema": { - "$ref": "#/definitions/CassandraClusterRepairPublicResource" - } - }, - "application/*+json": { - "schema": { - "$ref": "#/definitions/CassandraClusterRepairPublicResource" - } - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairTables": { + "post": { + "tags": [ + "ClusterRepairTableStatus" + ], + "operationId": "GetRepairTableStatus", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" }, - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/definitions/CassandraReaperRunStatus" - } + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string" } } } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}": { - "delete": { - "tags": [ - "RepairRunDelete" - ], - "operationId": "DeleteRepairRun", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns": { + "post": { + "tags": [ + "RepairRunCreate" + ], + "operationId": "CreateRepairRun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "body", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CassandraClusterRepairPublicResource" }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" + "description": "The properties specifying the desired state of repairRun to be created." + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CassandraReaperRunStatus" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/list": { - "post": { - "tags": [ - "RepairRunList" - ], - "operationId": "ListRepairRuns", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/CassandraReaperRunStatus" - } - } - } - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}": { + "delete": { + "tags": [ + "RepairRunDelete" + ], + "operationId": "DeleteRepairRun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/pause": { - "post": { - "tags": [ - "RepairRunPause" - ], - "operationId": "PauseRepairRun", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/list": { + "post": { + "tags": [ + "RepairRunList" + ], + "operationId": "ListRepairRuns", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/CassandraReaperRunStatus" } } - ], - "responses": { - "200": { - "description": "Success" - } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/resume": { - "post": { - "tags": [ - "RepairRunResume" - ], - "operationId": "ResumeRepairRun", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/pause": { + "post": { + "tags": [ + "RepairRunPause" + ], + "operationId": "PauseRepairRun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/segments": { - "post": { - "tags": [ - "RepairRunSegmentsList" - ], - "operationId": "ListRepairSegments", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/definitions/CassandraRepairSegmentResourceFeedResponse" - } - } - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/resume": { + "post": { + "tags": [ + "RepairRunResume" + ], + "operationId": "ResumeRepairRun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/show": { - "post": { - "tags": [ - "RepairRunShow" - ], - "operationId": "ShowRepairRun", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success", - "content": { - "application/json": { - "schema": { - "$ref": "#/definitions/CassandraReaperRunStatus" - } - } - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/segments": { + "post": { + "tags": [ + "RepairRunSegmentsList" + ], + "operationId": "ListRepairSegments", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CassandraRepairSegmentResourceFeedResponse" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/segments/{segmentId}/abort": { - "post": { - "tags": [ - "RepairSegmentAbort" - ], - "operationId": "AbortSegment", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "segmentId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/show": { + "post": { + "tags": [ + "RepairRunShow" + ], + "operationId": "ShowRepairRun", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success", + "schema": { + "$ref": "#/definitions/CassandraReaperRunStatus" } } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.DocumentDB/cassandraClusters/{cassandraClusterResource}/repairRuns/{repairRunId}/intensity/{intensityValue}": { - "post": { - "tags": [ - "RepairUpdateIntensity" - ], - "operationId": "UpdateRepairIntensity", - "parameters": [ - { - "name": "subscriptionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceGroup", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "cassandraClusterResource", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "repairRunId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "intensityValue", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Success" - } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/segments/{segmentId}/abort": { + "post": { + "tags": [ + "RepairSegmentAbort" + ], + "operationId": "AbortSegment", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "#/parameters/segmentId" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}/repairRuns/{repairRunId}/intensity/{intensityValue}": { + "post": { + "tags": [ + "RepairUpdateIntensity" + ], + "operationId": "UpdateRepairIntensity", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "#/parameters/clusterNameParameter" + }, + { + "$ref": "#/parameters/repairRunId" + }, + { + "$ref": "#/parameters/intensityValue" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Success" } } } @@ -1298,6 +1085,26 @@ "minLength": 1, "maxLength": 15, "pattern": "^[0-9]+$" + }, + "repairRunId": { + "name": "repairRunId", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "description": "Id of repair run created to repair Cassandra cluster." + }, + "intensityValue": { + "name": "intensityValue", + "in": "path", + "required": true, + "type": "string" + }, + "segmentId": { + "name": "segmentId", + "in": "path", + "required": true, + "type": "string" } }, "definitions": { @@ -1880,67 +1687,55 @@ "type": "object", "properties": { "keyspace": { - "type": "string", - "nullable": true + "type": "string" }, "owner": { - "type": "string", - "nullable": true + "type": "string" }, "cause": { - "type": "string", - "nullable": true + "type": "string" }, "tables": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "segmentCount": { "type": "integer", - "format": "int32", - "nullable": true + "format": "int32" }, "repairParallelism": { - "type": "string", - "nullable": true + "type": "string" }, "intensity": { "type": "number", - "format": "double", - "nullable": true + "format": "double" }, "incrementalRepair": { - "type": "boolean", - "nullable": true + "type": "boolean" }, "nodes": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "dataCenters": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "blackListedTables": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "repairThreadCount": { "type": "integer", - "format": "int32", - "nullable": true + "format": "int32" } }, "additionalProperties": false @@ -1949,16 +1744,13 @@ "type": "object", "properties": { "id": { - "type": "string", - "nullable": true + "type": "string" }, "name": { - "type": "string", - "nullable": true + "type": "string" }, "type": { - "type": "string", - "nullable": true + "type": "string" }, "properties": { "$ref": "#/definitions/CassandraClusterRepairPublicProperties" @@ -1970,12 +1762,10 @@ "type": "object", "properties": { "name": { - "type": "string", - "nullable": true + "type": "string" }, "jmxUserName": { - "type": "string", - "nullable": true + "type": "string" }, "jmxPasswordIsSet": { "type": "boolean" @@ -1984,22 +1774,19 @@ "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "repairRuns": { "type": "array", "items": { "$ref": "#/definitions/CassandraReaperRunStatus" - }, - "nullable": true + } }, "repairSchedules": { "type": "array", "items": { "$ref": "#/definitions/CassandraReaperScheduleStatus" - }, - "nullable": true + } }, "nodesStatus": { "$ref": "#/definitions/CassandraReaperNodeStatus" @@ -2011,44 +1798,36 @@ "type": "object", "properties": { "endpoint": { - "type": "string", - "nullable": true + "type": "string" }, "hostId": { - "type": "string", - "nullable": true + "type": "string" }, "dataCenter": { - "type": "string", - "nullable": true + "type": "string" }, "rack": { - "type": "string", - "nullable": true + "type": "string" }, "status": { - "type": "string", - "nullable": true + "type": "string" }, "severity": { "type": "number", "format": "double" }, "releaseVersion": { - "type": "string", - "nullable": true + "type": "string" }, "tokens": { - "type": "string", - "nullable": true + "type": "string" }, "load": { "type": "number", "format": "double" }, "type": { - "type": "string", - "nullable": true + "type": "string" } }, "additionalProperties": false @@ -2057,8 +1836,7 @@ "type": "object", "properties": { "sourceNode": { - "type": "string", - "nullable": true + "type": "string" }, "endpoints": { "type": "object", @@ -2070,8 +1848,7 @@ "$ref": "#/definitions/CassandraReaperEndpointState" } } - }, - "nullable": true + } }, "totalLoad": { "type": "number", @@ -2081,8 +1858,7 @@ "type": "array", "items": { "type": "string" - }, - "nullable": true + } } }, "additionalProperties": false @@ -2094,8 +1870,7 @@ "type": "array", "items": { "$ref": "#/definitions/CassandraReaperGossipInfo" - }, - "nullable": true + } } }, "additionalProperties": false @@ -2104,35 +1879,28 @@ "type": "object", "properties": { "cause": { - "type": "string", - "nullable": true + "type": "string" }, "owner": { - "type": "string", - "nullable": true + "type": "string" }, "id": { - "type": "string", - "nullable": true + "type": "string" }, "clusterName": { - "type": "string", - "nullable": true + "type": "string" }, "columnFamilies": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "keyspaceName": { - "type": "string", - "nullable": true + "type": "string" }, "repairState": { - "type": "string", - "nullable": true + "type": "string" }, "intensity": { "type": "number", @@ -2146,49 +1914,42 @@ "format": "int32" }, "repairParallelism": { - "type": "string", - "nullable": true + "type": "string" }, "segmentsRepaired": { "type": "integer", "format": "int32" }, "lastEvent": { - "type": "string", - "nullable": true + "type": "string" }, "duration": { - "type": "string", - "nullable": true + "type": "string" }, "nodes": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "datacenters": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "blacklistedTables": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "repairThreadCount": { "type": "integer", "format": "int32" }, "repairUnitId": { - "type": "string", - "nullable": true + "type": "string" } }, "additionalProperties": false @@ -2197,39 +1958,32 @@ "type": "object", "properties": { "id": { - "type": "string", - "nullable": true + "type": "string" }, "owner": { - "type": "string", - "nullable": true + "type": "string" }, "state": { - "type": "string", - "nullable": true + "type": "string" }, "intensity": { "type": "number", "format": "double" }, "clusterName": { - "type": "string", - "nullable": true + "type": "string" }, "keyspaceName": { - "type": "string", - "nullable": true + "type": "string" }, "columnFamilies": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "repairParallelism": { - "type": "string", - "nullable": true + "type": "string" }, "incrementalRepair": { "type": "boolean" @@ -2242,22 +1996,19 @@ "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "datacenters": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "blacklistedTables": { "type": "array", "items": { "type": "string" - }, - "nullable": true + } }, "segmentCountPerNode": { "type": "integer", @@ -2268,20 +2019,16 @@ "format": "int32" }, "repairUnitId": { - "type": "string", - "nullable": true + "type": "string" }, "nextActivation": { - "type": "string", - "nullable": true + "type": "string" }, "creationTime": { - "type": "string", - "nullable": true + "type": "string" }, "pauseTime": { - "type": "string", - "nullable": true + "type": "string" }, "segmentTimeout": { "type": "integer", @@ -2301,12 +2048,10 @@ "type": "object", "properties": { "start": { - "type": "string", - "nullable": true + "type": "string" }, "end": { - "type": "string", - "nullable": true + "type": "string" } }, "additionalProperties": false @@ -2315,16 +2060,13 @@ "type": "object", "properties": { "id": { - "type": "string", - "nullable": true + "type": "string" }, "runId": { - "type": "string", - "nullable": true + "type": "string" }, "repairUnitId": { - "type": "string", - "nullable": true + "type": "string" }, "tokenRange": { "$ref": "#/definitions/CassandraRepairTokenRange" @@ -2334,27 +2076,22 @@ "format": "int32" }, "state": { - "type": "string", - "nullable": true + "type": "string" }, "coordinatorHost": { - "type": "string", - "nullable": true + "type": "string" }, "startTime": { - "type": "string", - "nullable": true + "type": "string" }, "endTime": { - "type": "string", - "nullable": true + "type": "string" }, "replicas": { "type": "object", "additionalProperties": { "type": "string" - }, - "nullable": true + } } }, "additionalProperties": false @@ -2366,8 +2103,7 @@ "type": "array", "items": { "$ref": "#/definitions/CassandraRepairSegment" - }, - "nullable": true + } } }, "additionalProperties": false @@ -2382,15 +2118,13 @@ "type": "array", "items": { "$ref": "#/definitions/CassandraRepairRingRange" - }, - "nullable": true + } }, "replicas": { "type": "object", "additionalProperties": { "type": "string" - }, - "nullable": true + } } }, "additionalProperties": false