From d05a92c1730976e6937a395095a0c4e538072026 Mon Sep 17 00:00:00 2001 From: 804873052 <804873052@qq.com> Date: Mon, 23 Aug 2021 13:42:57 +0800 Subject: [PATCH 1/2] track2 modify iothub readme.go.md --- specification/iothub/resource-manager/readme.go.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/specification/iothub/resource-manager/readme.go.md b/specification/iothub/resource-manager/readme.go.md index 7c8970ce5386..ebee92b2351d 100644 --- a/specification/iothub/resource-manager/readme.go.md +++ b/specification/iothub/resource-manager/readme.go.md @@ -2,13 +2,21 @@ These settings apply only when `--go` is specified on the command line. -``` yaml $(go) +``` yaml $(go) && !$(track2) go: license-header: MICROSOFT_MIT_NO_VERSION namespace: devices clear-output-folder: true ``` +``` yaml $(go) && $(track2) +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/iothub/armiothub +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +azure-arm: true +``` + ### Go multi-api ``` yaml $(go) && $(multiapi) From a30e0336c7b254bfbe37ec2a8cbff823d4ed4d9f Mon Sep 17 00:00:00 2001 From: 804873052 <804873052@qq.com> Date: Thu, 26 Aug 2021 10:57:21 +0800 Subject: [PATCH 2/2] add repo azure-sdk-for-go-track2 --- specification/iothub/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 1df4e18afad4..ec72325db381 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -251,6 +251,7 @@ swagger-to-sdk: - repo: azure-sdk-for-python-track2 - repo: azure-sdk-for-java - repo: azure-sdk-for-go + - repo: azure-sdk-for-go-track2 - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby