Skip to content

Commit

Permalink
Change Response for Solution PUT call (#3226)
Browse files Browse the repository at this point in the history
  • Loading branch information
dashimi32 authored and dsgouda committed Jun 15, 2018
1 parent 874b43f commit 26ca3e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
"Solution"
],
"x-ms-examples": {
"SolutionCreate": { "$ref": "./examples/SolutionCreate.json" }
"SolutionCreate": { "$ref": "./examples/SolutionCreate.json" }
},
"x-ms-long-running-operation": true,
"operationId": "Solutions_CreateOrUpdate",
"summary": "Create/Update Solution.",
"description": "Creates or updates the Solution.",
Expand Down Expand Up @@ -69,8 +70,8 @@
}
],
"responses": {
"200": {
"description": "OK response definition.",
"201": {
"description": "Created response definition.",
"schema": {
"$ref": "#/definitions/Solution"
}
Expand All @@ -87,9 +88,10 @@
"tags": [
"Solution"
],
"x-ms-examples": {
"SolutionDelete": { "$ref": "./examples/SolutionDelete.json" }
"x-ms-examples": {
"SolutionDelete": { "$ref": "./examples/SolutionDelete.json" }
},
"x-ms-long-running-operation": true,
"operationId": "Solutions_Delete",
"summary": "Deletes the solution",
"description": "Deletes the solution in the subscription.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
},
"responses":{
"200":{
"201":{
"body":{
"id":"subscriptions/subid/resourcegroups/rg1/providers/Microsoft.OperationsManagement/solutions/solution1",
"location":"East US",
Expand Down

0 comments on commit 26ca3e6

Please sign in to comment.