Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mixedreality 2019-02-28 API version to Go SDK #5271

Merged
merged 1 commit into from
Feb 27, 2019
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
26 changes: 26 additions & 0 deletions specification/mixedreality/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: 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=<path to the root directory of your azure-sdk-for-go clone>`.

``` yaml $(tag) == 'package-2019-02-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2019-02-28/$(namespace)
```
18 changes: 16 additions & 2 deletions specification/mixedreality/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down Expand Up @@ -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)