Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cognitive Service Computer Vision] Create CV v3.0 API version swagger #8734

Merged
merged 5 commits into from
May 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ go:
batch:
- tag: release_2_0
- tag: release_2_1
- tag: release_3_0
```

### Tag: release_2_0 and go
Expand All @@ -33,4 +34,13 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

``` yaml $(tag) == 'release_2_1' && $(go)
output-folder: $(go-sdk-folder)/services/cognitiveservices/v2.1/$(namespace)
```

### Tag: release_3_0 and go

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

``` yaml $(tag) == 'release_3_0' && $(go)
output-folder: $(go-sdk-folder)/services/cognitiveservices/v3.0/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Configuration for generating Computer Vision SDK.

The current release is `release_2_1`.
The current release is `release_3_0`.

``` yaml

tag: release_2_1
tag: release_3_0
add-credentials: true
openapi-type: data-plane
```
Expand All @@ -32,6 +32,15 @@ input-file:
- stable/v2.1/Ocr.json
```

### Release 3.0
These settings apply only when `--tag=release_3_0` is specified on the command line.

``` yaml $(tag) == 'release_3_0'
input-file:
- stable/v3.0/ComputerVision.json
- stable/v3.0/Ocr.json
```

## Swagger to SDK

This section describes what SDK should be generated by the automatic system.
Expand Down Expand Up @@ -146,6 +155,8 @@ input-file:
- $(this-folder)/stable/v2.0/Ocr.json
- $(this-folder)/stable/v2.1/ComputerVision.json
- $(this-folder)/stable/v2.1/Ocr.json
- $(this-folder)/stable/v3.0/ComputerVision.json
- $(this-folder)/stable/v3.0/Ocr.json

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ namespace: "Azure::CognitiveServices::ComputerVision::V2_1"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
title: "ComputerVisionClient"
```

### Tag: release_3_0 and ruby

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

``` yaml $(tag) == 'release_3_0' && $(ruby)
namespace: "Azure::CognitiveServices::ComputerVision::V3_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_computervision/lib
title: "ComputerVisionClient"
```
Loading