Skip to content

Commit

Permalink
Fix formatting for all jsons (Azure#1965)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidLiCIG authored and sarangan12 committed Nov 3, 2017
1 parent 5869823 commit e76a3e8
Show file tree
Hide file tree
Showing 17 changed files with 4,988 additions and 4,985 deletions.
56 changes: 28 additions & 28 deletions specification/cognitiveservices/data-plane/Common/BasicRegions.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"AzureRegion": {
"name": "AzureRegion",
"description": "Supported Azure regions for Cognitive Services endpoints",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-enum": {
"name": "AzureRegions",
"modelAsString": false
},
"enum": [
"westus",
"westeurope",
"southeastasia",
"eastus2",
"westcentralus"
]
}
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"AzureRegion": {
"name": "AzureRegion",
"description": "Supported Azure regions for Cognitive Services endpoints",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-enum": {
"name": "AzureRegions",
"modelAsString": false
},
"enum": [
"westus",
"westeurope",
"southeastasia",
"eastus2",
"westcentralus"
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"AzureRegion": {
"name": "AzureRegion",
"description": "Supported Azure regions for Cognitive Services endpoints",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-enum": {
"name": "AzureRegions",
"modelAsString": false
},
"enum": [
"westus",
"westeurope",
"southeastasia",
"eastus2",
"westcentralus",
"westus2",
"eastus",
"southcentralus",
"northeurope",
"eastasia",
"australiaeast",
"brazilsouth"
]
}
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"AzureRegion": {
"name": "AzureRegion",
"description": "Supported Azure regions for Cognitive Services endpoints",
"x-ms-parameter-location": "client",
"required": true,
"type": "string",
"in": "path",
"x-ms-skip-url-encoding": true,
"x-ms-enum": {
"name": "AzureRegions",
"modelAsString": false
},
"enum": [
"westus",
"westeurope",
"southeastasia",
"eastus2",
"westcentralus",
"westus2",
"eastus",
"southcentralus",
"northeurope",
"eastasia",
"australiaeast",
"brazilsouth"
]
}
}
}
74 changes: 37 additions & 37 deletions specification/cognitiveservices/data-plane/Common/Parameters.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"ImageStream": {
"name": "Image",
"in": "body",
"required": true,
"x-ms-parameter-location": "method",
"description": "An image stream.",
"schema": {
"type": "object",
"format": "file"
}
},
"ImageUrl": {
"name": "ImageUrl",
"in": "body",
"required": true,
"x-ms-parameter-location": "method",
"x-ms-client-flatten": true,
"description": "A JSON document with a URL pointing to the image that is to be analyzed.",
"schema": {
"$ref": "#/definitions/ImageUrl"
}
}
"swagger": "2.0",
"info": {
"version": "2017-08-30",
"title": "Common Referenced Parameters File",
"description": "File containing commonly referenced parameters."
},
"paths": {},
"parameters": {
"ImageStream": {
"name": "Image",
"in": "body",
"required": true,
"x-ms-parameter-location": "method",
"description": "An image stream.",
"schema": {
"type": "object",
"format": "file"
}
},
"definitions": {
"ImageUrl": {
"ImageUrl": {
"name": "ImageUrl",
"in": "body",
"required": true,
"x-ms-parameter-location": "method",
"x-ms-client-flatten": true,
"description": "A JSON document with a URL pointing to the image that is to be analyzed.",
"schema": {
"$ref": "#/definitions/ImageUrl"
}
}
},
"definitions": {
"ImageUrl": {
"type": "object",
"required": [
"url"
"url"
],
"properties": {
"url": {
"type": "string"
}
"url": {
"type": "string"
}
}
}
}
}
}
Loading

0 comments on commit e76a3e8

Please sign in to comment.