Closed Photon3009 closed 7 months ago
flutter test
is failing for 4 test cases. Recheck.
okay
@animator please now check, I've updated the pr
@Photon3009 Few points:
Your generated kotlin code has ResponseBody
class. What is the structure of this class? how will the user know.
As the user needs to perform additional tasks to run this generated code, you need to document an example with full steps showing how to do so. So that we can provide a link to the user to learn more. See example for JS (fetch) in this comment
hey @animator, please check the example below. If it works, then I will write the remaining tests for this. Otherwise, let me know if we need to add code to print a generic response in the generated code too
This works
Can you add the remaining test cases.
sorry for the delay, currently going through my exams, will complete this asap, probably within two days
No problem. Good luck for the exams.
Thanks @animator I have updated the test cases!
@animator did you check this?
As announced in the discord server, we are busy with application reviews and all PR reviews are on hold.
okay!
The generated code for POST with form fields are incorrect. Add complete working examples in comment for the below cases:
Please raise a new PR after ironing out everything.
PR Description
This PR introduces support for generating Kotlin code using Retrofit for API communication. Retrofit is a type-safe HTTP client for Android and Java by Square, Inc., that makes it easy to consume RESTful web services
Related Issues
Checklist
flutter test
) and all tests are passingAdded/updated tests?
We encourage you to add relevant test cases.