Skip to content

Commit de1388e

Browse files
authored
[Batch] Fix: Readded incorrectly removed Location/Retry-After headers (#12560)
Re-added Location and Retry-After headers to private endpoint connection update operation. Removing these from the swagger was incorrect and caused a breaking change in the C# SDK.
1 parent b9fb929 commit de1388e

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

specification/batch/resource-manager/Microsoft.Batch/stable/2021-01-01/BatchManagement.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,18 @@
17481748
}
17491749
},
17501750
"202": {
1751-
"description": "The operation was accepted and will be performed in the background."
1751+
"description": "The operation was accepted and will be performed in the background.",
1752+
"headers": {
1753+
"Location": {
1754+
"description": "The URL of the resource used to check the status of the asynchronous operation.",
1755+
"type": "string"
1756+
},
1757+
"Retry-After": {
1758+
"description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds.",
1759+
"type": "integer",
1760+
"format": "int32"
1761+
}
1762+
}
17521763
},
17531764
"204": {
17541765
"description": "The operation was successful."

0 commit comments

Comments
 (0)