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
@@ -0,0 +1,27 @@
## Go

These settings apply only when `--go` is specified on the command line.

```yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: personalizer
clear-output-folder: true

```

### Go multi-api

```yaml $(go) && $(multiapi)
batch:
- tag: release_1_0

```
### Tag: release_1_0 and go

These settings apply only when `--tag=release_1_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_1_0' && $(go)
output-folder: $(go-sdk-folder)/services/preview/personalizer/v1.0/$(namespace)
```
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- 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_personalizer']
Expand Down Expand Up @@ -60,4 +59,4 @@ directive:
.replace( /\"this.Endpoint\"/g, "\"this.Client.Endpoint\"" )
.replace( /this.Endpoint/g, "Client.Endpoint" );
return $;
```
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Python

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

```yaml $(python)
python-mode: create
python:
license-header: MICROSOFT_MIT_NO_VERSION
add-credentials: true
payload-flattening-threshold: 2
namespace: azure.cognitiveservices.personalizer
package-name: azure-cognitiveservices-personalizer
package-version: 0.2.0
clear-output-folder: true
```
``` yaml $(python) && $(python-mode) == 'update'
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-personalizer/azure/cognitiveservices/personalizer
```
``` yaml $(python) && $(python-mode) == 'create'
python:
basic-setup-py: true
output-folder: $(python-sdks-folder)/cognitiveservices/azure-cognitiveservices-personalizer
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Ruby

These settings apply only when `--ruby` is specified on the command line.

```yaml
package-name: azure_cognitiveservices_personalizer
package-version: "0.16.0"
azure-arm: true
```
### Ruby multi-api

``` yaml $(ruby) && $(multiapi)
batch:
- tag: release_1_0
```

### Tag: release_1_0 and ruby

These settings apply only when `--tag=release_1_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::Personalizer::V1_0"
output-folder: $(ruby-sdks-folder)/data/azure_cognitiveservices_personalizer/lib
title: "PersonalizerClient"
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## TypeScript

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

```yaml $(typescript)
typescript:
package-name: "@azure/cognitiveservices-personalizer"
output-folder: "$(typescript-sdks-folder)/sdk/cognitiveservices/cognitiveservices-personalizer"
azure-arm: false
generate-metadata: true
```