Skip to content

Commit

Permalink
fix devcenter readme.go.md config (#19906)
Browse files Browse the repository at this point in the history
* fix readme.go.md config

* rename to SkuInfo
  • Loading branch information
Alancere authored Jul 25, 2022
1 parent 226c70f commit 492de00
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions specification/devcenter/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ module-name: sdk/resourcemanager/devcenter/armdevcenter
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
directive:
- rename-model:
from: DevCenterSku
to: SkuInfo
- from: vdi.json
where: "$.definitions.SkuListResult.properties.value.items"
transform: >-
return {
"$ref": "commonDefinitions.json#/definitions/SkuInfo"
}
```
### Go multi-api
Expand Down
1 change: 1 addition & 0 deletions specification/devcenter/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ swagger-to-sdk:
- repo: azure-sdk-for-java
- repo: azure-sdk-for-js
- repo: azure-cli-extensions
- repo: azure-sdk-for-go
```
## Az

Expand Down

0 comments on commit 492de00

Please sign in to comment.