Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Go] Track2 modify readme.go.md 13 #17175

Merged
merged 2 commits into from
Dec 24, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Expand Up @@ -2,13 +2,25 @@

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: insights
clear-output-folder: true
```

```yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/applicationinsights/armapplicationinsights
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
directive:
Alancere marked this conversation as resolved.
Show resolved Hide resolved
from: aiOperations_API.json
where: $.paths
transform: delete $["/providers/Microsoft.Insights/operations"]
```

### Go multi-api

``` yaml $(go) && $(multiapi)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,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-resource-manager-schemas
Expand Down
10 changes: 9 additions & 1 deletion specification/imagebuilder/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

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

``` yaml $(go)
``` yaml $(go) && !$(track2)
license-header: MICROSOFT_MIT_NO_VERSION
namespace: virtualmachineimagebuilder
clear-output-folder: true
```

```yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/virtualmachineimagebuilder/armvirtualmachineimagebuilder
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)
Expand Down
3 changes: 2 additions & 1 deletion specification/imagebuilder/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,11 @@ 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-resource-manager-schemas
```
```

## Python

Expand Down
2 changes: 1 addition & 1 deletion specification/web/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ go:

```yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/web/armweb
module-name: sdk/resourcemanager/appservice/armappservice
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
Expand Down