microsoft / typespec

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

[HTTP] adds getStreamMetadata API #5153

Open chrisradek opened 2 days ago

chrisradek commented 2 days ago

Implements #4957

Link to design gist: https://gist.github.com/chrisradek/8b160bae56ceb1bf925933e1a2bb73c7

Design reviewed with TCGC team, in draft until I confirm this is the API we want to use for emitters.

azure-sdk commented 2 days ago

All changed packages have been documented.

Show changes ### `@typespec/http` - _feature_ [✏️](https://github.com/chrisradek/typespec/edit/get-stream-metadata/.chronus/changes/get-stream-metadata-2024-10-19-16-52-8.md?pr=/microsoft/typespec/pull/5153) > Adds getStreamMetadata JS API to simplify getting stream metadata from operation parameters and responses.
azure-sdk commented 2 days ago

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs