-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement multipart body support in sttp stub #4117
Conversation
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe. |
server/sttp-stub-server/src/test/scala/sttp/tapir/server/stub/TapirStubInterpreterTest.scala
Show resolved
Hide resolved
@adamw Hi! I’ve resolved all the issues and added a new test for handling multipartBody[T] with custom type T. Could you take a look? |
server/sttp-stub-server/src/test/scala/sttp/tapir/server/stub/TapirStubInterpreterTest.scala
Outdated
Show resolved
Hide resolved
server/sttp-stub-server/src/test/scala/sttp/tapir/server/stub/TapirStubInterpreterTest.scala
Outdated
Show resolved
Hide resolved
server/sttp-stub-server/src/test/scala/sttp/tapir/server/stub/TapirStubInterpreterTest.scala
Show resolved
Hide resolved
server/sttp-stub-server/src/test/scala/sttp/tapir/server/stub/TapirStubInterpreterTest.scala
Outdated
Show resolved
Hide resolved
Thanks this looks better now - I think we're close to being done, I left some comments regarding extending the test cases |
@adamw I have worked on this including files. Can I raise a new PR? Or Collaborate here ? |
server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala
Outdated
Show resolved
Hide resolved
@asr2003 This PR looks fine, I think the functionality is there, so if you'd have some comments on how to improve the code, that would be most welcome |
I started by creating a test case that replicated the error. After that, I worked on resolving the issue until the test case passed successfully.
/claim #3902