forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting for all jsons (Azure#1965)
- Loading branch information
1 parent
5869823
commit e76a3e8
Showing
17 changed files
with
4,988 additions
and
4,985 deletions.
There are no files selected for viewing
56 changes: 28 additions & 28 deletions
56
specification/cognitiveservices/data-plane/Common/BasicRegions.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 |
---|---|---|
@@ -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" | ||
] | ||
} | ||
} | ||
} |
70 changes: 35 additions & 35 deletions
70
specification/cognitiveservices/data-plane/Common/ExtendedRegions.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 |
---|---|---|
@@ -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
74
specification/cognitiveservices/data-plane/Common/Parameters.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 |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.