typespec
typespec copied to clipboard
refactor(http-client-csharp): do not expand client parameters into each operation
Description
Previously when adopting TCGC getAllOperations, we expand client parameters into each operation to keep the existing input model structure: https://github.com/microsoft/typespec/blob/81f897739eed8b481d2e07de8fe9770ba9f44994/packages/http-client-csharp/emitter/src/lib/operation-converter.ts#L152
We could remove this expansion, change the input model, and do the expansion in mgc/autorest.csharp if necessary.