From 83abb23c108b6ed96d39da12ca645101293389e9 Mon Sep 17 00:00:00 2001 From: Vlad Barosan Date: Thu, 15 Mar 2018 16:30:36 -0700 Subject: [PATCH 1/2] Add Go tag for api management, api version 2018-01-01 --- .../apimanagement/resource-manager/readme.md | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index f21ce59120f3..bb2b0407520f 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -1,5 +1,5 @@ # ApiManagement - + > see https://aka.ms/autorest This is the AutoRest configuration file for ApiManagement. @@ -7,7 +7,7 @@ This is the AutoRest configuration file for ApiManagement. --- -## Getting Started +## Getting Started To build the SDK for ApiManagement, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: > `autorest` @@ -21,7 +21,7 @@ To see additional help and options, run: -### Basic Information +### Basic Information These are the global settings for the ApiManagement API. ``` yaml @@ -134,7 +134,7 @@ input-file: - Microsoft.ApiManagement/stable/2016-10-10/apimtenant.json - Microsoft.ApiManagement/stable/2016-10-10/apimusers.json ``` - + ### Tag: package-2016-07 These settings apply only when `--tag=package-2016-07` is specified on the command line. @@ -159,11 +159,11 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-python autorest_options: - use: "@microsoft.azure/autorest.python@~3.0" + use: "@microsoft.azure/autorest.python@~3.0" ``` -## C# +## C# These settings apply only when `--csharp` is specified on the command line. Please also specify `--csharp-sdks-folder=`. @@ -172,7 +172,7 @@ Please also specify `--csharp-sdks-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(go) +output-folder: $(go-sdk-folder)/services/preview/apimanagement/mgmt/2018-01-01/apimanagement +``` + ### Tag: package-2017-03 and go These settings apply only when `--tag=package-2017-03 --go` is specified on the command line. From 260b6c3d3bdd77dfeb4a59b9f82a688f527b6dc1 Mon Sep 17 00:00:00 2001 From: Vlad Barosan Date: Thu, 15 Mar 2018 16:35:30 -0700 Subject: [PATCH 2/2] Generate go to preview path --- specification/dns/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 3ddaf82b9fb1..233e7609e9ac 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -201,7 +201,7 @@ These settings apply only when `--tag=package-2018-03-preview --go` is specified Please also specify `--go-sdk-folder=`. ``` yaml $(tag) == 'package-2018-03-preview' && $(go) -output-folder: $(go-sdk-folder)/services/dns/mgmt/2018-03-01-preview/dns +output-folder: $(go-sdk-folder)/services/preview/dns/mgmt/2018-03-01-preview/dns ``` ### Tag: package-2017-10 and go