Skip to content

Commit

Permalink
[Quantum] Fixing correctness issue regarding the CheckNameAvailability (
Browse files Browse the repository at this point in the history
Azure#13360)

* [Quantum] Fixing correctness issue regarding the CheckNameAvailability API

* Adding read-only property
  • Loading branch information
masenol authored and mkarmark committed Jul 20, 2021
1 parent f660ff0 commit ac4ff8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"responses": {
"200": {
"body": {
"nameAvailable": true,
"reason": ""
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "Resource name already exists"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,11 @@
"reason": {
"type": "string",
"description": "The reason of unavailability."
},
"message": {
"readOnly": true,
"type": "string",
"description": "The detailed info regarding the reason associated with the Namespace."
}
}
}
Expand Down

0 comments on commit ac4ff8c

Please sign in to comment.