Closed mohnishdeshpande closed 6 months ago
The generated code is not working for any of the cases where URL Params are present. Read and follow the instructions provided here properly - https://github.com/foss42/apidash/discussions/80
@ashitaprasad Is the code failing to compile or execute? The code was tested with various inputs, including with URL params. Could you please share the input that is causing this behaviour.
@mohnishdeshpande Run the codes generated for all the tests in your local computer. Now, create requests in API Dash for these models and send request and gather response. Now match the two outputs. In the comment below, mention your findings for all request models mentioned in the tests, i.e, GET 1-12, HEAD 1-2, POST 1-9, PUT 1, PATCH 1 & DELETE 1-2
Provide all setup & testing instructions to run the generated code on machine locally.
@ashitaprasad @animator Apologies, I missed that somehow. Anyway, I fixed it. Please have a look at the attached video recording of the working functionality. Screencast from 25-03-24 14:53:37.webm P.S. make sure to add '-lcurl' flag when compiling the code.
The generated codes have errors and they have not been manually run and verified. Take a look at other codegen tests. Closing this PR.
PR Description
Add codegen for C (libcurl).
Related Issues
Checklist
main
branch before making this PRflutter test
) and all tests are passingAdded/updated tests?
We encourage you to add relevant test cases.