From 4467c771cadde5052f593c3f9cded56ab929499b Mon Sep 17 00:00:00 2001 From: Dapeng Zhang Date: Wed, 23 Sep 2020 13:54:16 +0800 Subject: [PATCH] Add data plane configuration for go SDK --- .../attestation/data-plane/readme.go.md | 26 +++++++++++++++++++ .../attestation/data-plane/readme.md | 3 +++ 2 files changed, 29 insertions(+) create mode 100644 specification/attestation/data-plane/readme.go.md diff --git a/specification/attestation/data-plane/readme.go.md b/specification/attestation/data-plane/readme.go.md new file mode 100644 index 000000000000..a99623b96edf --- /dev/null +++ b/specification/attestation/data-plane/readme.go.md @@ -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=`. + +``` yaml $(tag) == 'package-2018-09-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/2018-09-01-preview/$(namespace) +``` diff --git a/specification/attestation/data-plane/readme.md b/specification/attestation/data-plane/readme.md index f382f8bb7b01..c0dfa3499891 100644 --- a/specification/attestation/data-plane/readme.md +++ b/specification/attestation/data-plane/readme.md @@ -51,6 +51,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 @@ -72,7 +73,9 @@ csharp: clear-output-folder: true ``` +## Go +See configuration in [readme.go.md](./readme.go.md) ## Multi-API/Profile support for AutoRest v3 generators