Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,8 @@
"DeploymentStackProperties": {
"type": "object",
"required": [
"actionOnUnmanage"
"actionOnUnmanage",
"denySettings"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has also been required for a while in our service. Given we are still in private preview, this change is something we have notified a limited set of customers about.

],
"description": "Deployment stack properties.",
"allOf": [
Expand Down Expand Up @@ -1129,7 +1130,7 @@
"type": "object",
"properties": {
"error": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
Copy link

@dantedallag dantedallag Apr 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The justification for this reversion is that both v2 and v3 versions generate an ErrorResponse object with a modified structure. Since ErrorResponse is shared, all swagger files in Microsoft.Resources need to be updated at the same time to v3.

This was found while building Microsoft.Azure.Management.Resources locally after the PR had been merged as Track1 generation is bypassed on the PR. We would like to delay upgrading this until we can upgrade all ErrorResponse objects in Microsoft.Resources to v3.

}
},
"description": "Deployment Stacks error response."
Expand Down