⚠️ This project has been moved to https://github.com/fiberplane/fiberplane
fp-openapi-rust-gen
is a tool to generate Rust client code from OpenAPI 3.0 specifications.
It was created as an in-house replacement for the OpenAPI Tools openapi-generator with a feature set
specifically tailored (but not exclusive) to the needs of Fiberplane.
The main differences are:
- The generated code references pre-defined models from the
fiberplane
crates instead of generating its own models. This allows us to use the same models in the generated code as in the rest of our codebases, including our backend, frontend and CLI. - Support has been added for common Fiberplane-specific types such as
Base64Uuid
. - There is first class support for
HashMap
andtime
data types out of the box, including in query parameters.
Please see COMMUNITY.md for ways to reach out to us.
See CONTRIBUTING.md.
See CODE_OF_CONDUCT.md.
All code within the fp-openapi-rust-gen
repository is distributed under the terms of
both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT.