Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #515
Closed
Open
Issue created Jul 09, 2018 by William Cheng@wing328Contributor

[C] Revise "apiClient_invoke" method

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

Assignee
Assign to
Time tracking