Skip to content

Commit

Permalink
Update swagger based on auto-gen process change. (#8766)
Browse files Browse the repository at this point in the history
* Update swagger based on auto-gen process change.

* Fix breaking change
  • Loading branch information
bowen5 authored Mar 19, 2020
1 parent db2fc9e commit 8bf7252
Showing 1 changed file with 39 additions and 39 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
],
"responses": {
"201": {
"description": "Created. The response describes the new Service and contains a Location header to query the operation result.",
"description": "Created. The response describes the new Service and contains a Location header to query the\r\noperation result.",
"schema": {
"$ref": "#/definitions/ServiceResource"
}
Expand Down Expand Up @@ -197,7 +197,7 @@
}
},
"202": {
"description": "Accepted. The response indicates the exiting Service is now updating and contains a Location header to query the operation result.",
"description": "Accepted. The response indicates the exiting Service is now updating and contains a Location\r\nheader to query the operation result.",
"schema": {
"$ref": "#/definitions/ServiceResource"
}
Expand Down Expand Up @@ -400,13 +400,6 @@
"description": "Get an App and its properties.",
"operationId": "Apps_Get",
"parameters": [
{
"name": "syncStatus",
"in": "query",
"description": "Indicates whether sync status",
"required": false,
"type": "string"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -421,6 +414,13 @@
},
{
"$ref": "#/parameters/AppNameParameter"
},
{
"name": "syncStatus",
"in": "query",
"description": "Indicates whether sync status",
"required": false,
"type": "string"
}
],
"responses": {
Expand Down Expand Up @@ -961,19 +961,19 @@
"description": "Checks that the resource name is valid and is not already in use.",
"operationId": "Services_CheckNameAvailability",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"name": "location",
"in": "path",
"description": "the region",
"required": true,
"type": "string"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"name": "availabilityParameters",
"in": "body",
Expand Down Expand Up @@ -1237,18 +1237,6 @@
"description": "Handles requests to list all resources in an App.",
"operationId": "Deployments_List",
"parameters": [
{
"name": "version",
"in": "query",
"description": "Version of the deployments to be listed",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi",
"uniqueItems": false
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -1263,6 +1251,18 @@
},
{
"$ref": "#/parameters/AppNameParameter"
},
{
"name": "version",
"in": "query",
"description": "Version of the deployments to be listed",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi",
"uniqueItems": false
}
],
"responses": {
Expand Down Expand Up @@ -1297,18 +1297,6 @@
"description": "List deployments for a certain service",
"operationId": "Deployments_ListClusterAllDeployments",
"parameters": [
{
"name": "version",
"in": "query",
"description": "Version of the deployments to be listed",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi",
"uniqueItems": false
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -1320,6 +1308,18 @@
},
{
"$ref": "#/parameters/ServiceNameParameter"
},
{
"name": "version",
"in": "query",
"description": "Version of the deployments to be listed",
"required": false,
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi",
"uniqueItems": false
}
],
"responses": {
Expand Down

0 comments on commit 8bf7252

Please sign in to comment.