Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.57k stars 4.82k forks source link

[MPG] Operation Id should use the original name in TSP instead of the name from client TSP #45090

Open ArthurMa1978 opened 4 months ago

ArthurMa1978 commented 4 months ago

For example, here the operation serverlessResourceById is renamed to GetServerlessResourceById , then the operation id in the generated SDK code is ServerlessRuntimes_GetServerlessResourceById which is not the right, the expected operation id should be ServerlessRuntimes_ServerlessResourceById.

live1206 commented 3 months ago

If docs team doesn't depend on this, we may remove operation id from comments. Or we can add operation id to TCGC output.

ArthurMa1978 commented 1 month ago

Talk with doc team first to understand if we can decouple with the operation id or not.

ArthurMa1978 commented 1 week ago

Chat with Chenji if TCGC can fix this.