Description
We had a release request for VMWare (about a year ago), as brownfield service that migrated to TypeSpec.
During the release, we found that we need to write a large client.tsp to re-arrange the operation groups in TypeSpec, to make it backward compatible to that from Swagger.
Azure/azure-rest-api-specs#29308
A prior discussion https://gist.github.com/weidongxu-microsoft/fa420c35cf0611a62a8d155771dd3425
(the preference then, was to use client.tsp, as we only get one service -- however it still blocked by another issue in typespec-azure-resource-manager)
Our current situation likely be same, on either
- let them break
- write
@client
and@operationGroup
and teach service to maintain it (this approach depends on a fix to typespec-azure-resource-manager lib) -- the maintenance of such client.tsp likely going to take efforts - TCGC decorator or emitter option to re-group
There is no new release request for brownfield service that migrated to TypeSpec, since then (I've seen new TypeSpec migration for brownfield, just no release request).
Therefore, we had to preemptively do the investigation now, to see how many such cases exists. If there is large proportion of such cases, we'd like to have a solution that can avoid write and maintain a large client.tsp