The current release is release_1_0
. A preview release release_1_1_preview.2 is also available
tag: release_1_1_preview.2
add-credentials: true
openapi-type: data-plane
These settings apply only when --tag=release_1_0
is specified on the command line.
input-file:
- stable/v1.0/Personalizer.json
These settings apply only when --tag=release_1_0_preview
is specified on the command line.
input-file:
- preview/v1.0/Personalizer.json
These settings apply only when --tag=release_1_1_preview.1
is specified on the command line.
input-file:
- preview/v1.1-preview.1/Personalizer.json
These settings apply only when --tag=release_1_1_preview.2
is specified on the command line.
input-file:
- preview/v1.1-preview.2/Personalizer.json
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_cognitiveservices_personalizer']
These settings apply only when --csharp
is specified on the command line.
csharp:
license-header: MICROSOFT_MIT_NO_VERSION
azure-arm: false
namespace: Microsoft.Azure.CognitiveServices.Personalizer
output-folder: $(csharp-sdks-folder)/CognitiveServices/Personalizer/src/Generated
sync-methods: all
clear-output-folder: true
directive:
# TODO: Remove this workaround once AutoRest fixes the incorrect code generation when using a parameterized host and both client and operation groups paths.
- from: source-file-csharp
where: $
transform: >-
return $
.replace( /\"this.Endpoint\"/g, "\"this.Client.Endpoint\"" )
.replace( /this.Endpoint/g, "Client.Endpoint" );
AutoRest V3 generators require the use of --tag=all-api-versions
to select api files.
This block is updated by an automatic script. Edits may be lost!
# include the azure profile definitions from the standard location
require: $(this-folder)/../../../../profiles/readme.md
# all the input files across all versions
input-file:
- $(this-folder)/stable/v1.0/Personalizer.json
- $(this-folder)/preview/v1.0/Personalizer.json
If there are files that should not be in the all-api-versions
set,
uncomment the exclude-file
section below and add the file paths.
#exclude-file:
# - $(this-folder)/Microsoft.Example/stable/2010-01-01/somefile.json