Skip to content

Commit 603b744

Browse files
[Hub Generated] Review request for Microsoft.Portal to add version preview/2015-08-01-preview (#12732)
* Fixing properties in dashboard parts * Updating Dashboard part metadata * Updating based on prettier fixes Co-authored-by: Himanshu Chandel <hich@microsoft.com>
1 parent 2d46d39 commit 603b744

File tree

4 files changed

+19
-15
lines changed

4 files changed

+19
-15
lines changed

specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,11 @@
395395
},
396396
"description": "List of dashboards."
397397
},
398+
"DashboardPartMetadata": {
399+
"description": "A dashboard part metadata.",
400+
"type": "object",
401+
"additionalProperties": true
402+
},
398403
"DashboardParts": {
399404
"type": "object",
400405
"description": "A dashboard part.",
@@ -438,11 +443,7 @@
438443
}
439444
},
440445
"metadata": {
441-
"description": "The dashboard part's metadata.",
442-
"type": "object",
443-
"additionalProperties": {
444-
"type": "object"
445-
}
446+
"$ref": "#/definitions/DashboardPartMetadata"
446447
}
447448
}
448449
},

specification/portal/resource-manager/Microsoft.Portal/preview/2018-10-01-preview/portal.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,11 @@
395395
},
396396
"description": "List of dashboards."
397397
},
398+
"DashboardPartMetadata": {
399+
"description": "A dashboard part metadata.",
400+
"type": "object",
401+
"additionalProperties": true
402+
},
398403
"DashboardParts": {
399404
"type": "object",
400405
"description": "A dashboard part.",
@@ -438,11 +443,7 @@
438443
}
439444
},
440445
"metadata": {
441-
"description": "The dashboard part's metadata.",
442-
"type": "object",
443-
"additionalProperties": {
444-
"type": "object"
445-
}
446+
"$ref": "#/definitions/DashboardPartMetadata"
446447
}
447448
}
448449
},

specification/portal/resource-manager/Microsoft.Portal/preview/2019-01-01-preview/portal.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,11 @@
401401
},
402402
"description": "List of dashboards."
403403
},
404+
"DashboardPartMetadata": {
405+
"description": "A dashboard part metadata.",
406+
"type": "object",
407+
"additionalProperties": true
408+
},
404409
"DashboardParts": {
405410
"type": "object",
406411
"description": "A dashboard part.",
@@ -448,11 +453,7 @@
448453
}
449454
},
450455
"metadata": {
451-
"description": "The dashboard part's metadata.",
452-
"type": "object",
453-
"additionalProperties": {
454-
"type": "object"
455-
}
456+
"$ref": "#/definitions/DashboardPartMetadata"
456457
}
457458
}
458459
},

specification/portal/resource-manager/Microsoft.Portal/preview/2020-09-01-preview/portal.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@
460460
"type"
461461
],
462462
"description": "A dashboard part metadata.",
463+
"additionalProperties": true,
463464
"properties": {
464465
"type": {
465466
"type": "string",

0 commit comments

Comments
 (0)