217 Commits

Author SHA1 Message Date
e205f6f64e Merge pull request #322 from royshruti/resolve-issue-142
Added CodeGen for PHP (curl)
2024-03-31 20:32:44 +05:30
91a58a8d31 fixes 2024-03-31 20:31:33 +05:30
459c96f90c Merge pull request #353 from apoorvdwi/validate-java-codegen
Validate JAVA Http Client Codegen and add relevant testcases
2024-03-31 20:07:24 +05:30
e863b35ada Update http.dart 2024-03-31 17:34:32 +05:30
bc89374d14 Update codegen.dart 2024-03-31 17:34:13 +05:30
62fc4a020b removed ruby files 2024-03-30 20:35:54 +05:30
dcd3b9f9eb fixed imports and removed unused variables 2024-03-30 20:10:39 +05:30
0f4d97e20a request dispatcher fixed 2024-03-30 20:10:22 +05:30
d24b2c2127 added header support 2024-03-30 20:10:02 +05:30
24e670e098 added formdata support 2024-03-30 20:09:23 +05:30
33cea56a52 added boundary and url params builder 2024-03-30 20:08:45 +05:30
21015ed39d added optional boundary as argument 2024-03-30 20:08:11 +05:30
93fdb71ca4 fixed request template 2024-03-30 20:07:53 +05:30
361846997a removed multipart form builder in favor of native HTTP.Form 2024-03-30 20:07:13 +05:30
31469e3651 added formdata and text/json payload template 2024-03-30 20:06:18 +05:30
bbbf686f80 added header dict template 2024-03-30 20:05:51 +05:30
6deaaf2169 added param dict template 2024-03-30 20:05:36 +05:30
4d073ec9c1 added templates for package import, url and boundary 2024-03-30 20:05:14 +05:30
d601094ef4 added boundary in julia codegen 2024-03-30 20:03:28 +05:30
53ef0ce747 including uri parameters 2024-03-28 04:01:19 +05:30
0354792457 inclusion of headers 2024-03-28 04:01:03 +05:30
261103d5eb request sending setup 2024-03-28 04:00:50 +05:30
c9c51a2840 faraday connection creation 2024-03-28 04:00:23 +05:30
7e43c33565 payload creation 2024-03-28 04:00:06 +05:30
21e05c288e setting up request url 2024-03-28 03:59:18 +05:30
0150675f9f custom boundary creation for heredoc 2024-03-28 03:58:55 +05:30
3b93bb3f86 try catch block for error handling 2024-03-28 03:57:46 +05:30
5774db422f added getCode function 2024-03-28 03:57:07 +05:30
73e087a257 response displaying template 2024-03-28 03:56:27 +05:30
f175483d86 connection response internal templates 2024-03-28 03:56:03 +05:30
9233102083 connection creation template 2024-03-28 03:54:18 +05:30
cf3ff17580 added request body payload templates 2024-03-28 03:53:56 +05:30
402670619c added request url template 2024-03-28 03:53:33 +05:30
642fca1cf6 added require templates 2024-03-28 03:53:07 +05:30
5b57ae46ff added class for faraday codegen 2024-03-28 03:52:31 +05:30
d9b38a0255 added support for ruby faraday 2024-03-28 03:51:54 +05:30
3886755ae9 fixed json body and head2 2024-03-24 01:54:33 +05:30
b8bd45a10a Fixed the java http client codegen 2024-03-23 21:32:48 +05:30
610e45cf5c Merge pull request #342 from apoorvdwi/add-rust-curl-codegen
Add Curl Rust Code Generator
2024-03-22 09:18:57 +05:30
adfbc2bce8 fixes 2024-03-22 09:17:24 +05:30
decd1d68eb Padded response body print statement 2024-03-21 20:53:48 +05:30
f99a84375a Fixed headers and corresponding template 2024-03-21 02:40:47 +05:30
beeece8875 added content type header in formdata 2024-03-20 23:13:06 +05:30
97d3c30bba Fixed rust generated code and testcases 2024-03-18 20:26:33 +05:30
e231df6397 added code generation for php curl 2024-03-18 00:12:26 +05:30
ced4994091 added get code function to generate php curl code 2024-03-18 00:10:33 +05:30
53179f88e2 added some more templates and functions
- added template for request body which takes either a string
	  build with form data or the json or text input given as it
	- added template for setting content type in header for
	  multipart/form-data file format
	- passing the request-body in setopt method to set the request
	  body
	- added functions to build formdata with or without a File
2024-03-17 23:57:56 +05:30
342fd78b5f added template for uuid and file boundary 2024-03-17 23:55:48 +05:30
d253f62f01 added template for user defined class File
- a constructor which takes a human readable name and the file
      and internally stores the contents of the file
    - if the file does not exist, then file_get_contents function
      returns false, in that case the contents of the file is an empty
      string
2024-03-17 23:49:48 +05:30
dc2bb203fe added body rendering templates
request body will be different based on whether or not the request
contains files
2024-03-17 23:39:33 +05:30