8000 Question about the client · Issue #366 · cjbooms/fabrikt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Question about the client #366

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.

8000

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

Open
EmilioLizama opened this issue Feb 13, 2025 · 2 comments
Open

Question about the client #366

EmilioLizama opened this issue Feb 13, 2025 · 2 comments

Comments

@EmilioLizama
Copy link
EmilioLizama commented Feb 13, 2025

Hello! I recently started using this library and it's great, but I have some questions about the usage of the generated clients. Whenever I create the client, it creates a class for each path from the open api yaml file. It feels a bit tedious having to make an instance of every client for every path generated. Is there a way to generate a single client, containing all of the path operations in a single file?

Also for the client generation I am using the OkHttp client.

@cjbooms
Copy link
Owner
cjbooms commented Feb 13, 2025

No, and I would estimate the work to make this change is many order of magnitudes greater than the instantiation problem. Open to PRs thought if you want to attempt the change though.

@Djaler
Copy link
Djaler commented Feb 23, 2025

I think we should have an option to use tags for this, like in openapi-generator.

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

No branches or pull requests

3 participants
0