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

Update test script for dart (http) codegen #291

Closed ashitaprasad closed 7 months ago

ashitaprasad commented 7 months ago

Tell us about the task you want to perform and are unable to do so because the feature is not available

New example requests have been added - POST 4 to POST 9 in test/request_models.dart which tests multipart formdata functionality of the codegens. These request models need to be included in the test script for dart (http) codegen. And the result generated must be verified by running it locally before adding it to the test file as the expected code.

See example test script for Python (requests) which covers all the test cases.

To learn more about codegens check out #80