microsoft / typespec

https://typespec.io/
MIT License
4.53k stars 220 forks source link

[Bug][http-client-csharp]: Inconsistency of `InputOperation.Summary` between emitter, mgc, autorest.csharp #4159

Open archerzz opened 3 months ago

archerzz commented 3 months ago

Describe the bug

Reproduction

Check this PR which I tried to adopt TCGC properties regarding operation docs: https://github.com/microsoft/typespec/pull/4158 image The root cause is that after adopting TCGC properties, the meaningful doc value is saved in Summary, instead of Description. And the Description is set to the operation name.

Questions

Checklist

archerzz commented 3 months ago

Per discussion,