Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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 @@ -23,4 +23,13 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

``` yaml $(tag) == 'release_1_0' && $(go)
output-folder: $(go-sdk-folder)/services/cognitiveservices/v1.1/customvision/$(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/customvision/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Configuration for generating Custom Vision Prediction SDK.

The current release is `release_1_0`.
The current release is `release_3_0`.

``` yaml

tag: release_1_0
tag: release_3_0
openapi-type: data-plane
```
# Releases
Expand All @@ -20,6 +20,13 @@ These settings apply only when `--tag=release_1_0` is specified on the command l
input-file: stable/v2.0/Prediction.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/Prediction.json
```

# Validation

## Suppression
Expand All @@ -45,6 +52,9 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
- repo: azure-sdk-for-node
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_cognitiveservices_customvision_prediction']
```

## CSharp Settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ azure-arm: true
``` yaml $(ruby) && $(multiapi)
batch:
- tag: release_1_0
- tag: release_3_0
```

### Tag: release_1_0 and ruby
Expand All @@ -22,6 +23,17 @@ Please also specify `--ruby-sdks-folder=<path to the root directory of your azur

``` yaml $(tag) == 'release_1_0' && $(ruby)
namespace: "Azure::CognitiveServices::CustomVision::Prediction::V1_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_customvision_prediction/lib
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_customvisionprediction/lib
title: "PredictionClient"
```

### 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_1_0' && $(ruby)
namespace: "Azure::CognitiveServices::CustomVision::Prediction::V3_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_customvisionprediction/lib
title: "PredictionClient"
```
Loading