Skip to content

Commit

Permalink
Fix source control status code in 2022-06-01-preview. (#20429)
Browse files Browse the repository at this point in the history
  • Loading branch information
yalixiang authored Aug 30, 2022
1 parent 62f0c62 commit 483d3a4
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 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
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
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 483d3a4

Please sign in to comment.