Skip to content

Commit d3be7a1

Browse files
TFR258caverobotryogok
authored
Threis/cv 32 ga (#13297)
* Create Base CV 3.2 config * Add language and start updating examples * Add model version, corrct other smaller elements * Tweak language code formatting and description * Correct Read available resource version * Attempt to fix failing build * Ensure parity with ComputerVisionErrors * Add model version for vision * Correct ModelVersion to model-version * Fix JSON formatting error * Update query param name for model version to "model-version" * Remove unused error codes from OCR's supported list * Fix failing tests on OCR operation * Split vision and ocr Model-Version into to separate elements * Fix case sensitivity issue * Add parent "error" object, remove requestId from ComputerVisionError object * Fix the number of returned captions (maxCandidate is set to 1 so API should return only one caption) Co-authored-by: bob <bob@bob.com> Co-authored-by: Ryogo Kanatani <ryogok@microsoft.com>
1 parent 55bfefd commit d3be7a1

25 files changed

+3958
-2
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ batch:
1717
- tag: release_2_1
1818
- tag: release_3_0
1919
- tag: release_3_1
20+
- tag: release_3_2
2021
```
2122
2223
### Tag: release_2_0 and go
@@ -62,4 +63,13 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s
6263

6364
``` yaml $(tag) == 'release_3_1' && $(go)
6465
output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.1/$(namespace)
66+
```
67+
68+
### Tag: release_3_2 and go
69+
70+
These settings apply only when `--tag=release_3_2 --go` is specified on the command line.
71+
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.
72+
73+
``` yaml $(tag) == 'release_3_2' && $(go)
74+
output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.2/$(namespace)
6575
```

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

Lines changed: 13 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_1`.
7+
The current release is `release_3_2`.
88

99
``` yaml
1010

11-
tag: release_3_1
11+
tag: release_3_2
1212
add-credentials: true
1313
openapi-type: data-plane
1414
```
@@ -74,6 +74,15 @@ input-file:
7474
- preview/v3.2-preview.2/Ocr.json
7575
```
7676

77+
### Release 3.2
78+
These settings apply only when `--tag=release_3_2` is specified on the command line.
79+
80+
``` yaml $(tag) == 'release_3_2'
81+
input-file:
82+
- stable/v3.2/ComputerVision.json
83+
- stable/v3.2/Ocr.json
84+
```
85+
7786
## Swagger to SDK
7887

7988
This section describes what SDK should be generated by the automatic system.
@@ -193,6 +202,8 @@ input-file:
193202
- $(this-folder)/stable/v3.0/Ocr.json
194203
- $(this-folder)/preview/v3.1-preview.2/Ocr.json
195204
- $(this-folder)/preview/v3.2-preview.2/Ocr.json
205+
- $(this-folder)/stable/v3.2/ComputerVision.json
206+
- $(this-folder)/stable/v3.2/Ocr.json
196207
197208
```
198209

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,15 @@ Please also specify `--ruby-sdks-folder=<path to the root directory of your azur
5252
namespace: "Azure::CognitiveServices::ComputerVision::V3_1"
5353
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
5454
title: "ComputerVisionClient"
55+
```
56+
57+
### Tag: release_3_2 and ruby
58+
59+
These settings apply only when `--tag=release_3_2 --ruby` is specified on the command line.
60+
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.
61+
62+
``` yaml $(tag) == 'release_3_2' && $(ruby)
63+
namespace: "Azure::CognitiveServices::ComputerVision::V3_2"
64+
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
65+
title: "ComputerVisionClient"
5566
```

0 commit comments

Comments
 (0)