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

[Go] healthcareapi add batch tag package-preview-2021-06 #17983

Merged
merged 4 commits into from
Feb 25, 2022
Merged
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
21 changes: 20 additions & 1 deletion specification/healthcareapis/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,31 @@ azure-arm: true

``` yaml $(go) && $(multiapi)
batch:
- tag: package-preview-2021-06
- tag: package-2020-03-30
- tag: package-2020-03
- tag: package-2019-09
- tag: package-2018-08-preview
```

### Tag: package-preview-2021-06 and go

These settings apply only when `--tag=package-preview-2021-06 --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-preview-2021-06' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2021-06-01-preview/$(namespace)

directive:
- from: healthcare-apis.json
where: $.definitions.ServicesProperties.properties.provisioningState
transform: >-
return {
"description": "The provisioning state.",
"$ref": "#/definitions/ProvisioningState"
}
```

### Tag: package-2020-03-30 and go

These settings apply only when `--tag=package-2020-03-30 --go` is specified on the command line.
Expand Down Expand Up @@ -61,4 +80,4 @@ Please also specify `--go-sdk-folder=<path to the root directory of your azure-s

``` yaml $(tag) == 'package-2018-08-preview' && $(go)
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2018-08-20-preview/$(namespace)
```
```