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.46k stars 4.8k forks source link

Migrate Key Vault client generation to TypeSpec #46798

Open chlowell opened 3 days ago

chlowell commented 3 days ago

This issue tracks migrating Key Vault client generation from OpenAPI to TypeSpec:

[!Important] Certificates, Keys and Secrets do not have generated code as of today, so they are out of scope for this migration.

This is the high-level process for each library:

jsquire commented 3 days ago

Please be aware that .NET will not be performing a full generation from TypeSpec. We will migrate the clients that are currently generated but will not be investing in generating those clients that are hand-written at this time. Generated clients will continue to be internal; we will not be generating the public API.

//cc: @chlowell, @JonathanCrd

JonathanCrd commented 2 days ago

@chlowell my understanding is that each of us will work with a Client.tsp to figure out what customization we need, and then once we all have our customizations we're going to merge them together (and simplify them). Is that correct? Or do we have a common Client.tsp already?

chlowell commented 2 days ago

That's my understanding as well. The TSP PRs don't include a client.tsp and may not--it's reasonable to add it in a separate PR--so feel free to create one for your local development in the meantime.