Commit d219163
fix: simplify isBinaryPayload to use encode="bytes" as binary signal (#3958)
* Initial plan
* update
(cherry picked from commit c2f06b1)
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
* style: format operationHelpers after isolated commit cherry-pick
Agent-Logs-Url: https://github.com/Azure/autorest.typescript/sessions/c5b9a83f-2fec-4bc7-b44b-2393f9d65a94
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
* docs: clarify isolated binary payload scenarios
Agent-Logs-Url: https://github.com/Azure/autorest.typescript/sessions/c5b9a83f-2fec-4bc7-b44b-2393f9d65a94
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
* Update operationUtil.ts
* Update operationUtil.ts
* Update bytesWithDifferentContentType.md
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
Co-authored-by: JialinHuang803 <139532647+JialinHuang803@users.noreply.github.com>1 parent d62d25b commit d219163
3 files changed
Lines changed: 664 additions & 4 deletions
File tree
- packages/typespec-ts
- src
- modular/helpers
- utils
- test/modularUnit/scenarios/operations/bodyParam
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
452 | 452 | | |
453 | 453 | | |
454 | 454 | | |
455 | | - | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
456 | 461 | | |
457 | 462 | | |
458 | 463 | | |
| |||
1760 | 1765 | | |
1761 | 1766 | | |
1762 | 1767 | | |
1763 | | - | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1764 | 1774 | | |
1765 | 1775 | | |
1766 | 1776 | | |
| |||
3266 | 3276 | | |
3267 | 3277 | | |
3268 | 3278 | | |
3269 | | - | |
| 3279 | + | |
| 3280 | + | |
| 3281 | + | |
| 3282 | + | |
3270 | 3283 | | |
3271 | 3284 | | |
3272 | 3285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
| |||
0 commit comments