Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idiomatic Client #48

Open
4 tasks
Karitham opened this issue Oct 29, 2021 · 0 comments · May be fixed by #103
Open
4 tasks

Idiomatic Client #48

Karitham opened this issue Oct 29, 2021 · 0 comments · May be fixed by #103
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Karitham
Copy link
Collaborator

Karitham commented Oct 29, 2021

The current client code generation is a bit un-idiomatic and pretty painful to use.

We want to make one that is closer to idiomatic go, and that would actually make it simpler and nicer to consume the API.

This issue is here for the sake of tracking progress on the client, as to say:

  • Define the API interface
  • Write the code
  • Make it nice
    • Non 2XX responses should return a proper error

References

Code generators

https://github.com/deepmap/oapi-codegen
https://github.com/openapitools/openapi-generator

Example client

https://github.com/google/go-github

@Karitham Karitham mentioned this issue Oct 30, 2021
@Karitham Karitham added enhancement New feature or request help wanted Extra attention is needed labels Mar 19, 2022
@Karitham Karitham linked a pull request Aug 26, 2023 that will close this issue
@Karitham Karitham self-assigned this Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant