From af1959fbe841075d0dc87f760b25901e7e01b7bc Mon Sep 17 00:00:00 2001 From: juz Date: Thu, 27 Aug 2020 17:07:38 -0700 Subject: [PATCH] update link context to type dictionary --- .../stable/2020-06-01/networkWatcher.json | 11 ++++------- .../stable/2020-07-01/networkWatcher.json | 11 ++++------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/networkWatcher.json index ee456bebb492..42eafe935f3b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-06-01/networkWatcher.json @@ -3461,10 +3461,10 @@ }, "context": { "readOnly": true, - "type": "array", - "description": "Provides additional context on the issue.", - "items": { - "$ref": "#/definitions/IssueContext" + "type": "object", + "description": "Provides additional context on links.", + "additionalProperties": { + "type": "string" } }, "resourceId": { @@ -3480,19 +3480,16 @@ "roundTripTimeMin": { "description": "Minimum roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" }, "roundTripTimeAvg": { "description": "Average roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" }, "roundTripTimeMax": { "description": "Maximum roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/networkWatcher.json index efd51deeed5a..c110b40ca979 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/networkWatcher.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/networkWatcher.json @@ -3461,10 +3461,10 @@ }, "context": { "readOnly": true, - "type": "array", - "description": "Provides additional context on the issue.", - "items": { - "$ref": "#/definitions/IssueContext" + "type": "object", + "description": "Provides additional context on links.", + "additionalProperties": { + "type": "string" } }, "resourceId": { @@ -3480,19 +3480,16 @@ "roundTripTimeMin": { "description": "Minimum roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" }, "roundTripTimeAvg": { "description": "Average roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" }, "roundTripTimeMax": { "description": "Maximum roundtrip time in milliseconds.", "readOnly": true, - "format": "int32", "type": "integer" } }