Skip to content

Commit

Permalink
Change the order of parameters in swagger to comply the convention in (
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored and erich-wang committed Dec 3, 2019
1 parent f424db6 commit a52c5a4
Showing 1 changed file with 36 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@
"description": "Create a new Service or update an exiting Service.",
"operationId": "Services_CreateOrUpdate",
"parameters": [
{
"name": "resource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/ServiceResource"
}
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -84,6 +75,15 @@
},
{
"$ref": "#/parameters/ServiceNameParameter"
},
{
"name": "resource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/ServiceResource"
}
}
],
"responses": {
Expand Down Expand Up @@ -450,15 +450,6 @@
"description": "Create a new App or update an exiting App.",
"operationId": "Apps_CreateOrUpdate",
"parameters": [
{
"name": "appResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/AppResource"
}
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -473,6 +464,15 @@
},
{
"$ref": "#/parameters/AppNameParameter"
},
{
"name": "appResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/AppResource"
}
}
],
"responses": {
Expand Down Expand Up @@ -755,15 +755,6 @@
"description": "Create a new Binding or update an exiting Binding.",
"operationId": "Bindings_CreateOrUpdate",
"parameters": [
{
"name": "bindingResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/BindingResource"
}
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -781,6 +772,15 @@
},
{
"$ref": "#/parameters/BindingNameParameter"
},
{
"name": "bindingResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/BindingResource"
}
}
],
"responses": {
Expand Down Expand Up @@ -1059,15 +1059,6 @@
"description": "Create a new Deployment or update an exiting Deployment.",
"operationId": "Deployments_CreateOrUpdate",
"parameters": [
{
"name": "deploymentResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/DeploymentResource"
}
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
Expand All @@ -1085,6 +1076,15 @@
},
{
"$ref": "#/parameters/DeploymentNameParameter"
},
{
"name": "deploymentResource",
"in": "body",
"description": "Parameters for the create or update operation",
"required": true,
"schema": {
"$ref": "#/definitions/DeploymentResource"
}
}
],
"responses": {
Expand Down

0 comments on commit a52c5a4

Please sign in to comment.