From 492de0073c94276bc53ad18a701c93489222a8cb Mon Sep 17 00:00:00 2001 From: Jiahui Peng <46921893+Alancere@users.noreply.github.com> Date: Mon, 25 Jul 2022 10:46:32 +0800 Subject: [PATCH] fix devcenter readme.go.md config (#19906) * fix readme.go.md config * rename to SkuInfo --- specification/devcenter/resource-manager/readme.go.md | 10 ++++++++++ specification/devcenter/resource-manager/readme.md | 1 + 2 files changed, 11 insertions(+) diff --git a/specification/devcenter/resource-manager/readme.go.md b/specification/devcenter/resource-manager/readme.go.md index 6c6643b1b116..3081939fd452 100644 --- a/specification/devcenter/resource-manager/readme.go.md +++ b/specification/devcenter/resource-manager/readme.go.md @@ -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 diff --git a/specification/devcenter/resource-manager/readme.md b/specification/devcenter/resource-manager/readme.md index 349272123326..5898d95fa909 100644 --- a/specification/devcenter/resource-manager/readme.md +++ b/specification/devcenter/resource-manager/readme.md @@ -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