microsoft / typespec

https://typespec.io/
MIT License
3.88k stars 174 forks source link

[http][multipart] missing expected name of HttpPart #3644

Open msyyc opened 2 weeks ago

msyyc commented 2 weeks ago

According to https://github.com/microsoft/typespec/issues/3046: image I expect the "name" of this part shall be "image", however, for the similar scenario : https://github.com/microsoft/typespec/blob/9d48ad1a56bb398283f94093a005d58d3d27f51f/packages/http/test/multipart.test.ts#L133-L154 current http parse it into "undefined" instead of "nested": image

markcowl commented 2 weeks ago

@bterlson please investigate