Skip to content

Commit

Permalink
softwareplan remove extra tag,solutions add go track2 config (#17153)
Browse files Browse the repository at this point in the history
* adhybridhealthservice space enum,softwareplan remove extra tag,solutions add go track2 config

* add track2 repo

* remove adhybridhealthservice
  • Loading branch information
Alancere authored Dec 22, 2021
1 parent 0cd7b3e commit 8204d32
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 16 deletions.
18 changes: 17 additions & 1 deletion specification/softwareplan/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,29 @@

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

```yaml $(go)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_MIT_NO_VERSION
clear-output-folder: true
namespace: softwareplan
```
``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/softwareplan/armsoftwareplan
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
batch:
- tag: package-2019-12-01
- tag: package-2019-06-01-preview
```
### Tag: package-2019-06-01-preview and go
These settings apply only when `--tag=package-2019-06-01-preview --go` is specified on the command line.
Expand Down
24 changes: 10 additions & 14 deletions specification/softwareplan/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,6 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor

These are the global settings for the softwareplan.

``` yaml
openapi-type: arm
tag: package-2019-06-01-preview
```
### Tag: package-2019-06-01-preview
These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2019-06-01-preview'
input-file:
- Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
```

``` yaml
openapi-type: arm
tag: package-2019-12-01
Expand All @@ -52,6 +38,15 @@ input-file:
- Microsoft.SoftwarePlan/stable/2019-12-01/softwareplan.json
```

### Tag: package-2019-06-01-preview

These settings apply only when `--tag=package-2019-06-01-preview` is specified on the command line.

``` yaml $(tag) == 'package-2019-06-01-preview'
input-file:
- Microsoft.SoftwarePlan/preview/2019-06-01-preview/softwareplan.json
```

---

# Code Generation
Expand All @@ -67,6 +62,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down
10 changes: 9 additions & 1 deletion specification/solutions/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

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

```yaml $(go)
```yaml $(go) && !$(track2)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
```
``` yaml $(go) && $(track2)
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/solutions/armmanagedapplications
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
```
### Go multi-api
``` yaml $(go) && $(multiapi)
Expand Down
1 change: 1 addition & 0 deletions specification/solutions/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down

0 comments on commit 8204d32

Please sign in to comment.