Skip to content

Conversation

@msyyc
Copy link
Contributor

@msyyc msyyc commented Dec 4, 2025

Add test case to cover scenarios of #9137 and #9136

This PR adds 2 cases:

  • set different wire name for http part
  • make file part optional

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 4, 2025

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http@9139
npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-specs@9139

commit: 9cea0dd

@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2025

All changed packages have been documented.

  • @typespec/http-specs
Show changes

@typespec/http-specs - feature ✏️

Add new test case for multipart

@azure-sdk
Copy link
Collaborator

azure-sdk commented Dec 4, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@msyyc msyyc marked this pull request as ready for review December 5, 2025 05:29
@msyyc
Copy link
Contributor Author

msyyc commented Dec 5, 2025

The CI failure seems related with http-client-js which can't handle the new test case:

image CC. @MaryGao

@msyyc msyyc added the lib:http-specs For issues/prs related to the @typespec/http-specs package label Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lib:http-specs For issues/prs related to the @typespec/http-specs package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants