Skip to content

Commit

Permalink
change response code (#20081)
Browse files Browse the repository at this point in the history
  • Loading branch information
xwang971 authored Aug 9, 2022
1 parent 827a487 commit 680eab4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@
],
"responses": {
"200": {
"description": "No change performed on the Container App.",
"description": "OK",
"schema": {
"$ref": "#/definitions/SourceControl"
}
},
"202": {
"description": "Container App create or update has been started.",
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/SourceControl"
}
Expand Down Expand Up @@ -236,7 +236,7 @@
],
"responses": {
"200": {
"description": "Container App deleted successfully."
"description": "Container App SourceControl deleted successfully."
},
"202": {
"description": "Delete operation is in progress."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
}
}
},
"202": {
"201": {
"headers": {
"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"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@
],
"responses": {
"200": {
"description": "No change performed on the Container App.",
"description": "OK",
"schema": {
"$ref": "#/definitions/SourceControl"
}
},
"202": {
"description": "Container App create or update has been started.",
"201": {
"description": "Created",
"schema": {
"$ref": "#/definitions/SourceControl"
}
Expand Down Expand Up @@ -236,7 +236,7 @@
],
"responses": {
"200": {
"description": "Container App deleted successfully."
"description": "Container App SourceControl deleted successfully."
},
"202": {
"description": "Delete operation is in progress."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
}
}
},
"202": {
"201": {
"headers": {
"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"
},
Expand Down

0 comments on commit 680eab4

Please sign in to comment.