Skip to content

Commit

Permalink
add configuration for track 2 agfood (Azure#14568)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored May 27, 2021
1 parent 394395e commit 9875f8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
27 changes: 6 additions & 21 deletions specification/agfood/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,10 @@

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

```yaml $(go)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: agfood
clear-output-folder: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2020-05-12-preview
```
### Tag: package-2020-05-12-preview and go
These settings apply only when `--tag=package-2020-05-12-preview --go` is specified on the command line.
Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`.

```yaml $(tag) == 'package-2020-05-12-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-05-12-preview/$(namespace)
```yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/agfood/armagfood
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```
1 change: 0 additions & 1 deletion specification/agfood/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ This is not used by Autorest itself.
```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
```
## Go
Expand Down

0 comments on commit 9875f8e

Please sign in to comment.