Skip to content

Commit

Permalink
fix sdk generation failures
Browse files Browse the repository at this point in the history
  • Loading branch information
youngbupark committed Oct 11, 2021
1 parent cd76067 commit 4665521
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 8 deletions.
27 changes: 21 additions & 6 deletions specification/hybridconnectivity/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@

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

```yaml $(go) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/hybridconnectivity/armhybridconnectivity
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
namespace: hybridconnectivity
clear-output-folder: true
```
### Go multi-api
```yaml $(go) && $(multiapi)
batch:
- tag: package-2021-10-06-preview
```
### Tag: package-2021-10-06-preview and go
These settings apply only when `--tag=package-2021-10-06-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-2021-10-06-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-10-06-preview/$(namespace)
```
6 changes: 4 additions & 2 deletions specification/hybridconnectivity/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ These are the global settings for the hybridconnectivity.

```yaml
openapi-type: arm
openapi-subtype: providerHub
openapi-subtype: rpaas
tag: package-2021-10-06-preview
```
Expand All @@ -50,9 +50,11 @@ This is not used by Autorest itself.

```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
- repo: azure-resource-manager-schemas
- repo: azure-cli-extensions
Expand Down

0 comments on commit 4665521

Please sign in to comment.