Skip to content

Commit 5beac82

Browse files
authored
Update Error Code to string (#24150)
1 parent 83e7e59 commit 5beac82

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/common-types.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
"properties": {
8888
"code": {
8989
"description": "Error code.",
90-
"type": "integer",
91-
"format": "int32",
90+
"type": "string",
9291
"readOnly": true
9392
},
9493
"message": {

specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2023-04-01-preview/examples/GenerateDetailedCostReportOperationStatusBySubscriptionScope.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"validTill": "2020-12-08T05:55:59.4394737Z"
1717
},
1818
"error": {
19-
"code": 0,
19+
"code": "0",
2020
"message": null
2121
}
2222
}

0 commit comments

Comments
 (0)