Skip to content

Commit 35f8a4d

Browse files
authored
[Go] Track2 modify readme.go.md 13 (#17175)
* [Go] Track2 modify readme.go.md 13 * add explain
1 parent 698ebc7 commit 35f8a4d

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed

specification/applicationinsights/resource-manager/readme.go.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,26 @@
22

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

5-
``` yaml $(go)
5+
``` yaml $(go) && !$(track2)
66
go:
77
license-header: MICROSOFT_MIT_NO_VERSION
88
namespace: insights
99
clear-output-folder: true
1010
```
1111
12+
```yaml $(go) && $(track2)
13+
license-header: MICROSOFT_MIT_NO_VERSION
14+
module-name: sdk/resourcemanager/applicationinsights/armapplicationinsights
15+
module: github.com/Azure/azure-sdk-for-go/$(module-name)
16+
output-folder: $(go-sdk-folder)/$(module-name)
17+
azure-arm: true
18+
directive:
19+
# Duplicate OperationId Operations_List is detected in Microsoft.Insights/stable/2015-05-01/aiOperations_API.json and Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json
20+
from: aiOperations_API.json
21+
where: $.paths
22+
transform: delete $["/providers/Microsoft.Insights/operations"]
23+
```
24+
1225
### Go multi-api
1326
1427
``` yaml $(go) && $(multiapi)

specification/applicationinsights/resource-manager/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,7 @@ swagger-to-sdk:
505505
- repo: azure-sdk-for-python-track2
506506
- repo: azure-sdk-for-java
507507
- repo: azure-sdk-for-go
508+
- repo: azure-sdk-for-go-track2
508509
- repo: azure-sdk-for-js
509510
- repo: azure-sdk-for-node
510511
- repo: azure-resource-manager-schemas

specification/imagebuilder/resource-manager/readme.go.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,20 @@
22

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

5-
``` yaml $(go)
5+
``` yaml $(go) && !$(track2)
66
license-header: MICROSOFT_MIT_NO_VERSION
77
namespace: virtualmachineimagebuilder
88
clear-output-folder: true
99
```
1010
11+
```yaml $(go) && $(track2)
12+
license-header: MICROSOFT_MIT_NO_VERSION
13+
module-name: sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder
14+
module: github.com/Azure/azure-sdk-for-go/$(module-name)
15+
output-folder: $(go-sdk-folder)/$(module-name)
16+
azure-arm: true
17+
```
18+
1119
### Go multi-api
1220
1321
``` yaml $(go) && $(multiapi)

specification/imagebuilder/resource-manager/readme.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,11 @@ swagger-to-sdk:
8989
- repo: azure-sdk-for-python-track2
9090
- repo: azure-sdk-for-java
9191
- repo: azure-sdk-for-go
92+
- repo: azure-sdk-for-go-track2
9293
- repo: azure-sdk-for-js
9394
- repo: azure-sdk-for-node
9495
- repo: azure-resource-manager-schemas
95-
```
96+
```
9697

9798
## Python
9899

specification/web/resource-manager/readme.go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ go:
1111
1212
```yaml $(go) && $(track2)
1313
license-header: MICROSOFT_MIT_NO_VERSION
14-
module-name: sdk/resourcemanager/web/armweb
14+
module-name: sdk/resourcemanager/appservice/armappservice
1515
module: github.com/Azure/azure-sdk-for-go/$(module-name)
1616
output-folder: $(go-sdk-folder)/$(module-name)
1717
azure-arm: true

0 commit comments

Comments
 (0)