Skip to content

Conversation

@koralkulacoglu
Copy link
Contributor

@koralkulacoglu koralkulacoglu commented Nov 12, 2025

Ticket: DX-2225

  • Enables multipart/form-data and other content types for request/response via @contentType tag.
  • Defaults to application/json for backward compatibility.
  • Also added a testcase.

@koralkulacoglu koralkulacoglu marked this pull request as ready for review November 17, 2025 14:58
@koralkulacoglu koralkulacoglu requested a review from a team as a code owner November 17, 2025 14:58
Copy link
Contributor

@starfy84 starfy84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exposes the ability to specify a request or response content type via the @contentType tag

@koralkulacoglu koralkulacoglu marked this pull request as draft November 17, 2025 19:53
@starfy84 starfy84 self-requested a review November 17, 2025 19:53
Copy link
Contributor

@starfy84 starfy84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NVM, I think it would be nice to be able to specify a content type per response/request

@koralkulacoglu koralkulacoglu marked this pull request as ready for review November 18, 2025 17:55
Copy link
Contributor

@starfy84 starfy84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just some minor things regarding documentation and tests.

@koralkulacoglu koralkulacoglu force-pushed the DX-2225-Support-multipart/form-data-for-request-and-response-payloads-in-api-ts branch from 2659bc3 to 8ec43a7 Compare November 19, 2025 14:54
Copy link
Contributor

@starfy84 starfy84 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing before we get this merged!

@koralkulacoglu koralkulacoglu force-pushed the DX-2225-Support-multipart/form-data-for-request-and-response-payloads-in-api-ts branch from 8ec43a7 to 6b0734c Compare November 19, 2025 19:35
@ericcrosson-bitgo ericcrosson-bitgo marked this pull request as draft November 20, 2025 21:45
@koralkulacoglu koralkulacoglu marked this pull request as ready for review November 21, 2025 19:18
@koralkulacoglu koralkulacoglu marked this pull request as draft November 21, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants