From 74b7df4f75b2ef0ffd339cdedc20c074ebe9826f Mon Sep 17 00:00:00 2001 From: Uros Krstic Date: Mon, 15 Jul 2024 12:04:49 +0200 Subject: [PATCH 1/2] Set the new additionalProperties type to string --- .../preview/2024-05-01-preview/DatabaseAdvisors.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json index e8436aa5994c..8565aae5df8a 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json @@ -407,7 +407,7 @@ "description": "Gets additional details specific to this recommended action.", "type": "object", "additionalProperties": { - "type": "object" + "type": "string" }, "readOnly": true } From b470a19527ffb2e2c5f0387a16a6f0c9a8e770fc Mon Sep 17 00:00:00 2001 From: Uros Krstic Date: Mon, 15 Jul 2024 13:19:48 +0200 Subject: [PATCH 2/2] Remove the required type for additionalProperties, just keep them true --- .../preview/2024-05-01-preview/DatabaseAdvisors.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json b/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json index 8565aae5df8a..5871396cfdf8 100644 --- a/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json +++ b/specification/sql/resource-manager/Microsoft.Sql/preview/2024-05-01-preview/DatabaseAdvisors.json @@ -406,9 +406,7 @@ "details": { "description": "Gets additional details specific to this recommended action.", "type": "object", - "additionalProperties": { - "type": "string" - }, + "additionalProperties": true, "readOnly": true } }