Skip to content

Commit

Permalink
fix readme and add track 2 configurations (Azure#14582)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored and mkarmark committed Jul 20, 2021
1 parent 5ce6a2b commit dc170b3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
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

0 comments on commit dc170b3

Please sign in to comment.