Skip to content

Has anyone been able to generate client code for rust? #447

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

Open
KimToehler opened this issue May 19, 2025 · 1 comment
Open

Has anyone been able to generate client code for rust? #447

KimToehler opened this issue May 19, 2025 · 1 comment

Comments

@KimToehler
Copy link

Hey all,
I am trying to generate client code for rust from the current openapi spec.

I tried multiple code generators, like:
openapi-generator-cli
swagger-codegen
progenitor

and a few others.

But so far I had no luck, none of the mentioned generators was able to validate the spec and generate valid rust code from it.

There are quite a few errors on build time, so I won't bore you with every detail.

Image

Did anyone else try something similar and had more luck without having to fix the openapi spec manually? All pointers are very welcome.

Best Regards,
Tim

@KimToehler KimToehler changed the title Has anyone been able to generate code for rust? Has anyone been able to generate client code for rust? May 19, 2025
@Ovid
Copy link

Ovid commented May 26, 2025

There are quite a few errors on build time, so I won't bore you with every detail.

Boring people with details would be awesome. Makes it easier to verify that this is the same but as #453 and #452.

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

2 participants