diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/blob.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/blob.json index e5807b885738..f1e68b3cc2a0 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/blob.json @@ -1476,7 +1476,7 @@ "Break" ], "x-ms-enum": { - "name": "LeaseContainerRequest", + "name": "LeaseContainerRequestAction", "modelAsString": true }, "description": "Specifies the lease action. Can be one of the available actions." diff --git a/specification/storage/resource-manager/readme.go.md b/specification/storage/resource-manager/readme.go.md index 4d80b786e421..5570021da215 100644 --- a/specification/storage/resource-manager/readme.go.md +++ b/specification/storage/resource-manager/readme.go.md @@ -17,6 +17,13 @@ output-folder: $(go-sdk-folder)/$(module-name) azure-arm: true modelerfour: lenient-model-deduplication: true +directive: + - from: swagger-document + where: $.definitions.CorsRule + transform: $['properties']['allowedMethods']['items']['x-ms-enum']['name'] = 'CorsRuleAllowedMethodsItem' + - from: swagger-document + where: $.definitions.ActiveDirectoryProperties + transform: $['properties']['accountType']['x-ms-enum']['name'] = 'ActiveDirectoryPropertiesAccountType' ``` ### Go multi-api