Skip to content

Commit

Permalink
Add 202 response to LinkedServices (Azure#14227)
Browse files Browse the repository at this point in the history
* Add 202 response to LinkedServices

* Add example

* Update Delete api as well

* Fix example + Add to cluster delete

Co-authored-by: Or Argaman <orargama@microsoft.com>
  • Loading branch information
2 people authored and mkarmark committed Jul 20, 2021
1 parent aa3f08e commit 431fbc5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
}
],
"responses": {
"202": {
"description": "Accepted response definition."
},
"200": {
"description": "OK response definition.",
"schema": {
Expand Down Expand Up @@ -131,6 +134,9 @@
"$ref": "#/definitions/LinkedService"
}
},
"202": {
"description": "Accepted response definition."
},
"204": {
"description": "NoContent response definition."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
"202": {},
"200": {
"body": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"subscriptionId": "00000000-0000-0000-0000-00000000000"
},
"responses": {
"202": {},
"200": {
"body": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@
}
],
"responses": {
"202": {
"description": "Accepted response definition."
},
"200": {
"description": "OK response definition."
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}

0 comments on commit 431fbc5

Please sign in to comment.