Skip to content

Commit 680eab4

Browse files
authored
change response code (#20081)
1 parent 827a487 commit 680eab4

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/SourceControls.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@
177177
],
178178
"responses": {
179179
"200": {
180-
"description": "No change performed on the Container App.",
180+
"description": "OK",
181181
"schema": {
182182
"$ref": "#/definitions/SourceControl"
183183
}
184184
},
185-
"202": {
186-
"description": "Container App create or update has been started.",
185+
"201": {
186+
"description": "Created",
187187
"schema": {
188188
"$ref": "#/definitions/SourceControl"
189189
}
@@ -236,7 +236,7 @@
236236
],
237237
"responses": {
238238
"200": {
239-
"description": "Container App deleted successfully."
239+
"description": "Container App SourceControl deleted successfully."
240240
},
241241
"202": {
242242
"description": "Delete operation is in progress."

specification/app/resource-manager/Microsoft.App/preview/2022-01-01-preview/examples/SourceControls_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
}
4545
}
4646
},
47-
"202": {
47+
"201": {
4848
"headers": {
4949
"location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01"
5050
},

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/SourceControls.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@
177177
],
178178
"responses": {
179179
"200": {
180-
"description": "No change performed on the Container App.",
180+
"description": "OK",
181181
"schema": {
182182
"$ref": "#/definitions/SourceControl"
183183
}
184184
},
185-
"202": {
186-
"description": "Container App create or update has been started.",
185+
"201": {
186+
"description": "Created",
187187
"schema": {
188188
"$ref": "#/definitions/SourceControl"
189189
}
@@ -236,7 +236,7 @@
236236
],
237237
"responses": {
238238
"200": {
239-
"description": "Container App deleted successfully."
239+
"description": "Container App SourceControl deleted successfully."
240240
},
241241
"202": {
242242
"description": "Delete operation is in progress."

specification/app/resource-manager/Microsoft.App/stable/2022-03-01/examples/SourceControls_CreateOrUpdate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
}
4949
}
5050
},
51-
"202": {
51+
"201": {
5252
"headers": {
5353
"location": "https://localhost/subscriptions/651f8027-33e8-4ec4-97b4-f6e9f3dc8744/resourceGroups/workerapps-rg-xj/providers/Microsoft.App/containerApps/myapp/sourcecontrols/currentInOperationModel/operationresults/5a7f31af-8ae5-489b-a67e-f0a2d11df796?api-version=2021-03-01"
5454
},

0 commit comments

Comments
 (0)