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

Openapi client generator #200

Open
mihai1voicescu opened this issue Mar 14, 2023 · 1 comment
Open

Openapi client generator #200

mihai1voicescu opened this issue Mar 14, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@mihai1voicescu
Copy link

Is your feature request related to a problem? Please describe.
Most of the API docs are now provided along with an OpenAPI spec.

It is frustrating and bug-prone to match this by hand with a manually built Ktorfit.

OpenAPI has generator components that generate clients and server stubs from an API spec. This will greatly increase productivity when creating a new client (which you are free to then edit until it fits your needs).

Describe the solution you'd like
Implement a client generator for Ktorfit.

Docs can be found here.

@mihai1voicescu mihai1voicescu added the enhancement New feature or request label Mar 14, 2023
@Foso
Copy link
Owner

Foso commented Mar 15, 2023

Hi, i like the idea. I dont think i will find the time to implement this. But in case someone wants to do it, it seems there is an generator for Retrofit. I think the easiest way would be to copy and modify that for Ktorfit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants