You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kazrael2119
changed the title
Update Codegen to set parameters in the right position
Update Codegen to generate operation with parameters in the right position
Sep 1, 2022
When we updated SDK from track1 to track2, there are some issues occurred such as redis, compute.
In redis swagger, the paramters are defined by the correct way :https://github.com/Azure/azure-rest-api-specs/blob/aefbcc5fb18a3b33f401394ebeae01df0733c830/specification/redis/resource-manager/Microsoft.Cache/stable/2022-05-01/redis.json#L1084. But in redis sdk operation definition, the parameters are backwords: https://github.com/Azure/azure-sdk-for-js/blob/3de4ed1adf6c5d5df80e435b19ecda0600bc2ecd/sdk/redis/arm-rediscache/src/operations/patchSchedules.ts#L138.
the same issue in compute:
swagger:https://github.com/Azure/azure-rest-api-specs/blob/aefbcc5fb18a3b33f401394ebeae01df0733c830/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2022-03-01/virtualMachineExtensionImage.json#L37
sdk:https://github.com/Azure/azure-sdk-for-js/blob/3de4ed1adf6c5d5df80e435b19ecda0600bc2ecd/sdk/compute/arm-compute/src/operations/virtualMachineExtensionImages.ts#L44
The text was updated successfully, but these errors were encountered: