Skip to content

Commit 76f5ce0

Browse files
areddishjhendrixMSFT
authored andcommitted
Add more languages support (#3252)
* Update Java support Add ruby/nodejs * Remove ruby for now
1 parent 07ba046 commit 76f5ce0

File tree

6 files changed

+92
-0
lines changed

6 files changed

+92
-0
lines changed

specification/cognitiveservices/data-plane/CustomVision/Prediction/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ This is not used by Autorest itself.
4242
swagger-to-sdk:
4343
- repo: azure-sdk-for-go
4444
- repo: azure-sdk-for-python
45+
- repo: azure-libraries-for-java
46+
- repo: azure-sdk-for-node
4547
```
4648

4749
## CSharp Settings
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Node.js
2+
3+
These settings apply only when `--nodejs` is specified on the command line.
4+
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`.
5+
6+
``` yaml $(nodejs)
7+
nodejs:
8+
package-name: azure-cognitiveservices-customvision-prediction
9+
package-version: 1.0.0-preview
10+
output-folder: $(node-sdks-folder)/lib/services/customVision/prediction
11+
override-client-name: PredictionAPIClient
12+
azure-arm: false
13+
generate-license-txt: true
14+
generate-package-json: true
15+
generate-readme-md: false
16+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Ruby
2+
3+
These settings apply only when `--ruby` is specified on the command line.
4+
5+
``` yaml $(ruby)
6+
ruby:
7+
package-name: azure_cognitiveservices_customvision_prediction
8+
package-version: "0.16.0"
9+
azure-arm: true
10+
```
11+
12+
### Ruby multi-api
13+
14+
``` yaml $(ruby) && $(multiapi)
15+
batch:
16+
- tag: release_1_0
17+
```
18+
19+
### Tag: release_1_0 and ruby
20+
21+
These settings apply only when `--tag=release_1_0 --ruby` is specified on the command line.
22+
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.
23+
24+
``` yaml $(tag) == 'release_1_0' && $(ruby)
25+
namespace: "Azure::CognitiveServices::CustomVision::Prediction::V1_0"
26+
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_customvision_prediction/lib
27+
title: "PredictionClient"
28+
```

specification/cognitiveservices/data-plane/CustomVision/Training/readme.md

+2
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ This is not used by Autorest itself.
4242
swagger-to-sdk:
4343
- repo: azure-sdk-for-go
4444
- repo: azure-sdk-for-python
45+
- repo: azure-libraries-for-java
46+
- repo: azure-sdk-for-node
4547
```
4648

4749
## CSharp Settings
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
## Node.js
2+
3+
These settings apply only when `--nodejs` is specified on the command line.
4+
Please also specify `--node-sdks-folder=<path to root folder of your azure-sdk-for-node clone>`.
5+
6+
``` yaml $(nodejs)
7+
nodejs:
8+
package-name: azure-cognitiveservices-customvision-training
9+
package-version: 1.0.0-preview
10+
output-folder: $(node-sdks-folder)/lib/services/customVision/training
11+
override-client-name: TrainingAPIClient
12+
azure-arm: false
13+
generate-license-txt: true
14+
generate-package-json: true
15+
generate-readme-md: false
16+
```
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## Ruby
2+
3+
These settings apply only when `--ruby` is specified on the command line.
4+
5+
``` yaml $(ruby)
6+
ruby:
7+
package-name: azure_cognitiveservices_customvision_training
8+
package-version: "0.16.0"
9+
azure-arm: true
10+
```
11+
12+
### Ruby multi-api
13+
14+
``` yaml $(ruby) && $(multiapi)
15+
batch:
16+
- tag: release_1_0
17+
```
18+
19+
### Tag: release_1_0 and ruby
20+
21+
These settings apply only when `--tag=release_1_0 --ruby` is specified on the command line.
22+
Please also specify `--ruby-sdks-folder=<path to the root directory of your azure-sdk-for-ruby clone>`.
23+
24+
``` yaml $(tag) == 'release_1_0' && $(ruby)
25+
namespace: "Azure::CognitiveServices::CustomVision::Training::V1_0"
26+
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_customvision_training/lib
27+
title: "TrainingClient"
28+
```

0 commit comments

Comments
 (0)