Open Vipersoft-01 opened 3 months ago
will check
I can repro your issue: If I set the Display Name as "api", then I call the update operation to set the name as "Api", the result is still "api". Only update name as "Api1" then update it as "Api" again, the result should return "Api". not only for JS SDK, I used the rest api to update the name and it also will be the above result.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @miaojiang.
Add service team @miaojiang to take a look since this problem exist both in rest apis and SDKs.
Describe the bug When attempting to update the displayName property of an API Version Set in Azure API Management using the SDK in typescript, changes in capitalization alone (e.g., from lowercase to uppercase) are not recognized as an update. This prevents the update from being applied. To work around this issue, we have to make a more substantial change to the displayName (e.g., append an extra character and then remove it) to force the update to be recognized and applied correctly.
To Reproduce Steps to reproduce the behavior:
Expected behavior It should update the displayName, regardless of it being only a lowercase or uppercase character change.