openai / openai/openai-openapi
Has anyone been able to generate client code for rust?
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 2.5k
- Forks
- 527
- Avg merge
- 1h 46m
- Merged PRs (30d)
- 2
Description
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.
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by validating the current OpenAPI spec with openapi-generator-cli, swagger-codegen, or progenitor, then capture the validation and Rust build errors reported by those tools. Done would mean identifying the spec incompatibilities and confirming that one of the listed generators produces valid Rust client code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, rust
- Domain
- api
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100