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

Fix readme and add track 2 configurations for go SDK #14582

Merged
Show file tree
Hide file tree
Changes from all commits
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
12 changes: 10 additions & 2 deletions specification/privatedns/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@

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

``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/privatedns/armprivatedns
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)
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-09
```
Expand Down
12 changes: 1 addition & 11 deletions specification/privatedns/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These are the global settings for the Private DNS API.

``` yaml
openapi-type: arm
tag: package-2018-09
tag: package-2020-06
```

### Tag: package-2018-09
Expand All @@ -38,11 +38,6 @@ input-file:
- Microsoft.Network/stable/2018-09-01/privatedns.json
```

``` yaml
openapi-type: arm
tag: package-2020-01
```

### Tag: package-2020-01

These settings apply only when `--tag=package-2020-01` is specified on the command line.
Expand All @@ -52,11 +47,6 @@ input-file:
- Microsoft.Network/stable/2020-01-01/privatedns.json
```

``` yaml
openapi-type: arm
tag: package-2020-06
```

### Tag: package-2020-06

These settings apply only when `--tag=package-2020-06` is specified on the command line.
Expand Down