Skip to content
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
51 changes: 51 additions & 0 deletions specification/synapse/data-plane/readme.go.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
## Go

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

``` yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
```

### Go multi-api

``` yaml $(go) && $(multiapi)
batch:
- tag: package-spark-2019-11-01-preview
- tag: package-artifacts-2019-06-01-preview
- tag: package-access-control-2020-02-01-preview
```

### Tag: package-spark-2019-11-01-preview and go

These settings apply only when `--tag=package-spark-2019-11-01-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-spark-2019-11-01-preview' && $(go)
go:
namespace: spark
output-folder: $(go-sdk-folder)/services/preview/synapse/2019-11-01-preview/$(namespace)
```

### Tag: package-artifacts-2019-06-01-preview and go

These settings apply only when `--tag=package-artifacts-2019-06-01-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-artifacts-2019-06-01-preview' && $(go)
go:
namespace: artifacts
output-folder: $(go-sdk-folder)/services/preview/synapse/2019-06-01-preview/$(namespace)
```

### Tag: package-access-control-2020-02-01-preview and go

These settings apply only when `--tag=package-access-control-2020-02-01-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-access-control-2020-02-01-preview' && $(go)
go:
namespace: accesscontrol
output-folder: $(go-sdk-folder)/services/preview/synapse/2020-02-01-preview/$(namespace)
```
5 changes: 5 additions & 0 deletions specification/synapse/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ batch:
## TypeScript

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

## Go

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

## Multi-API/Profile support for AutoRest v3 generators
Copy link
Contributor

@idear1203 idear1203 Jun 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a space between these two lines?


AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.
Expand Down