diff --git a/specification/synapse/data-plane/readme.go.md b/specification/synapse/data-plane/readme.go.md new file mode 100644 index 000000000000..3b24071d4596 --- /dev/null +++ b/specification/synapse/data-plane/readme.go.md @@ -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=`. + +``` 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=`. + +``` 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=`. + +``` 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) +``` \ No newline at end of file diff --git a/specification/synapse/data-plane/readme.md b/specification/synapse/data-plane/readme.md index 27db372758be..90987da109b6 100644 --- a/specification/synapse/data-plane/readme.md +++ b/specification/synapse/data-plane/readme.md @@ -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 AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.