Skip to content

Commit

Permalink
Add go sdk for attestation (#8083)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcturusZhang authored and mmyyrroonn committed Jan 8, 2020
1 parent e6ae259 commit aedb9b6
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
26 changes: 26 additions & 0 deletions specification/attestation/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
namespace: attestation
clear-output-folder: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2018-09-preview
```
### Tag: package-2018-09-preview and go
These settings apply only when `--tag=package-2018-09-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-2018-09-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-09-01-preview/$(namespace)
```
4 changes: 4 additions & 0 deletions specification/attestation/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-go
```

## Python
Expand All @@ -71,6 +72,9 @@ csharp:
clear-output-folder: true
```

## Go

See configuration in [readme.go.md](./readme.go.md)


## Multi-API/Profile support for AutoRest v3 generators
Expand Down

0 comments on commit aedb9b6

Please sign in to comment.