diff --git a/specification/mixedreality/resource-manager/readme.go.md b/specification/mixedreality/resource-manager/readme.go.md new file mode 100644 index 000000000000..0bbc755d27b0 --- /dev/null +++ b/specification/mixedreality/resource-manager/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: mixedreality + clear-output-folder: true +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2019-02-preview +``` + +### Tag: package-2019-02-preview and go + +These settings apply only when `--tag=package-2019-02-preview --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2019-02-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-28/$(namespace) +``` diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md index cb85fb7c023a..b7590f5aabc9 100644 --- a/specification/mixedreality/resource-manager/readme.md +++ b/specification/mixedreality/resource-manager/readme.md @@ -25,13 +25,21 @@ These are the global settings for the Mixed Reality Azure Resource Management Cl title: MixedRealityClient description: Mixed Reality Client openapi-type: arm -input-file: Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json +tag: package-2019-02-preview +``` + +### Tag: package-2019-02-preview + +These settings apply only when `--tag=package-2019-02-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2019-02-preview' +input-file: +- Microsoft.MixedReality/preview/2019-02-28-preview/mixedreality.json ``` --- # Code Generation - ## Swagger to SDK This section describes what SDK should be generated by the automatic system. @@ -41,7 +49,9 @@ This is not used by Autorest itself. swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-js + - repo: azure-sdk-for-go ``` + ## C# These settings apply only when `--csharp` is specified on the command line. @@ -84,3 +94,7 @@ python: basic-setup-py: true output-folder: $(python-sdks-folder)/azure-mgmt-mixedreality ``` + +## Go + +See configuration in [readme.go.md](./readme.go.md)