Skip to content

Commit 405df4e

Browse files
authored
Computer Vision v3.1 (#10782)
* Computer Vision 3.1 API version - Changes include model updates only, no API surface change * Update version * Fix readme.go.md * Fix sample version * Fix spelling
1 parent bc52763 commit 405df4e

25 files changed

+3697
-3
lines changed

specification/cognitiveservices/data-plane/ComputerVision/readme.go.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ batch:
1616
- tag: release_2_0
1717
- tag: release_2_1
1818
- tag: release_3_0
19+
- tag: release_3_1
1920
```
2021
2122
### Tag: release_2_0 and go
@@ -45,11 +46,20 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
4546
output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.0/$(namespace)
4647
```
4748

49+
### Tag: release_3_1_preview and go
50+
51+
These settings apply only when `--tag=release_3_1_preview_2 --go` is specified on the command line.
52+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
53+
54+
``` yaml $(tag) == 'release_3_1_preview_2' && $(go)
55+
output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v3.1-preview.2/$(namespace)
56+
```
57+
4858
### Tag: release_3_1 and go
4959

5060
These settings apply only when `--tag=release_3_1 --go` is specified on the command line.
5161
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
5262

5363
``` yaml $(tag) == 'release_3_1' && $(go)
54-
output-folder: $(go-sdk-folder)/services/preview/cognitiveservices/v3.1-preview.2/$(namespace)
64+
output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.1/$(namespace)
5565
```

specification/cognitiveservices/data-plane/ComputerVision/readme.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
55
Configuration for generating Computer Vision SDK.
66

7-
The current release is `release_3_0`.
7+
The current release is `release_3_1`.
88

99
``` yaml
1010

11-
tag: release_3_0
11+
tag: release_3_1
1212
add-credentials: true
1313
openapi-type: data-plane
1414
```
@@ -57,6 +57,15 @@ input-file:
5757
- preview/v3.1-preview.2/Ocr.json
5858
```
5959

60+
### Release 3.1
61+
These settings apply only when `--tag=release_3_1` is specified on the command line.
62+
63+
``` yaml $(tag) == 'release_3_1'
64+
input-file:
65+
- stable/v3.1/ComputerVision.json
66+
- stable/v3.1/Ocr.json
67+
```
68+
6069
## Swagger to SDK
6170

6271
This section describes what SDK should be generated by the automatic system.

specification/cognitiveservices/data-plane/ComputerVision/readme.ruby.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,15 @@ Please also specify `--ruby-sdks-folder=<path to the root directory of your azur
4141
namespace: "Azure::CognitiveServices::ComputerVision::V3_0"
4242
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
4343
title: "ComputerVisionClient"
44+
```
45+
46+
### Tag: release_3_1 and ruby
47+
48+
These settings apply only when `--tag=release_3_1 --ruby` is specified on the command line.
49+
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.
50+
51+
``` yaml $(tag) == 'release_3_1' && $(ruby)
52+
namespace: "Azure::CognitiveServices::ComputerVision::V3_1"
53+
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
54+
title: "ComputerVisionClient"
4455
```

0 commit comments

Comments
 (0)