-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swagger Coverage/Completeness- for operation CheckNameAvailability (#…
…3663) * Update service.json * CheckNameAvailability * FIxed Parameter name fixed couple of parameters name
- Loading branch information
1 parent
c9d1315
commit 5ba2af3
Showing
4 changed files
with
141 additions
and
2 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
...osoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_AlreadyExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-02", | ||
"subscriptionId": "subid", | ||
"locationName": "eastus", | ||
"parameters": { | ||
"name": "existingprojectname", | ||
"type": "Microsoft.Migrate/projects" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "The Migration project name 'existingprojectname' already exists for the given subscription. Please choose another name." | ||
} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...Microsoft.Migrate/stable/2018-02-02/examples/LocationCheckNameAvailability_Available.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-02-02", | ||
"subscriptionId": "subid", | ||
"locationName": "eastus", | ||
"parameters": { | ||
"name": "newprojectname", | ||
"type": "Microsoft.Migrate/projects" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "Available", | ||
"message": "The Migration project name 'newprojectname' is available for the given subscription" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"version": "2018-01-10", | ||
|
@@ -14994,4 +14994,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |