Open wing328 opened 6 years ago
@PowerOfCreation I think we need to revise the "apiClient_invoke" method: https://github.com/OpenAPITools/openapi-generator/blob/96e0814510d80605cdc6211e462308cb4ac15367/samples/client/petstore/c/src/apiClient.c#L67-L70 to pass the query, form, header and body parameters and other useful information such as HTTP verbs (GET, POST) as method parameters.
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs#L627-L629 is an example showing how the C# PetApi passes these information to the ApiClient. CallApiAsync
Latest master
https://github.com/OpenAPITools/openapi-generator/issues/306
Is this Issue still open? @wing328
Description
@PowerOfCreation I think we need to revise the "apiClient_invoke" method: https://github.com/OpenAPITools/openapi-generator/blob/96e0814510d80605cdc6211e462308cb4ac15367/samples/client/petstore/c/src/apiClient.c#L67-L70 to pass the query, form, header and body parameters and other useful information such as HTTP verbs (GET, POST) as method parameters.
https://github.com/OpenAPITools/openapi-generator/blob/master/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools/Api/PetApi.cs#L627-L629 is an example showing how the C# PetApi passes these information to the ApiClient. CallApiAsync
openapi-generator version
Latest master
Related issues/PRs
https://github.com/OpenAPITools/openapi-generator/issues/306