foss42 / apidash

API Dash is a beautiful open-source cross-platform API Client built using Flutter which can help you easily create & customize your API requests, visually inspect responses and generate API integration code. It is supported for macOS, Windows, Linux, Android & iOS. A lightweight alternative to postman/insomnia.
https://apidash.dev
Apache License 2.0
1.66k stars 317 forks source link

added test cases for kotli okhttp3 #302

Closed PCoder23 closed 7 months ago

PCoder23 commented 7 months ago

PR Description

Added test codes for post 4 and post 6 to 9, as post 5 already written (also manually checked the codes for non-image ones , and it was working fine)

Related Issues

Checklist

Added/updated tests?

We encourage you to add relevant test cases.

animator commented 7 months ago

Have you run the generated code of these test cases locally in your computer and verified that all of them are working.

PCoder23 commented 7 months ago

ran the non file ones and it was working fine

Screenshot 2024-03-15 181348

but the file ones are showing error , sending you a pr soon after correcting the codegen @animator

animator commented 7 months ago

Also run the file ones by replacing the dummy path with a path to a local image file.

PCoder23 commented 7 months ago

Codegen code is broken for file bodys, should i correct it @animator ?

animator commented 7 months ago

Yes @PCoder23

PCoder23 commented 7 months ago

now working fine for file ones too

Screenshot 2024-03-15 224256

Please review @animator

animator commented 7 months ago

LGTM 👏