[Bug]: dotnet emitter crashes with error: "An item with the same key has already been added. Key: status" #6005
Labels
bug
Something isn't working
emitter:client:csharp
Issue for the C# client emitter: @typespec/http-client-csharp
Describe the bug
Transferred from Azure/autorest.csharp#5218
I created PR Azure/azure-rest-api-specs#31123 to migrate Search from swagger to tsp.
The tsp project can be found at https://github.com/Azure/azure-rest-api-specs/tree/search_tsp/specification/search/Azure.Search.
The emitter crashes with error:
System.ArgumentException: An item with the same key has already been added. Key: status
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=4541949&view=logs&j=2be18a23-047c-5c9f-61d7-60a33437d1f1&t=90227b5e-3523-5803-3e16-3788cf693a16&l=476
We need to identify the blockers for the search TSP migration, and this issue is preventing us from making further progress.
We would appreciate it if you could prioritize it, if possible.
Thank you!
Reproduction
As described in the description.
Checklist
The text was updated successfully, but these errors were encountered: