Our great sponsors
-
rust-example-caster-api
DEPRECATED: A demo Rust API implementation using Tokio, Axum, async-graphql, and SeaORM
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
-
libninja
Generate client libraries that are featureful, human, well-documented, and async based on OpenAPI specs
-
smithy-rs
Code generation for the AWS SDK for Rust, as well as server and generic smithy client generation.
This repo has been a godsend - https://github.com/bkonkle/rust-example-caster-api/tree/main
Hey! I have been working on a project which used openAPI as you describe https://github.com/tiiuae/vmd. If you look into closed PRs you might find some discussions. It was not a painless thing to get to work according to our requirements.
How about this; there's some rust samples in there - https://github.com/OpenAPITools/openapi-generator/tree/master
Try dropshot by the Oxide Computer team. It generates an open api spec from your rust code directly.
You might check out https://github.com/kurtbuilds/libninja
AWS recently released https://github.com/awslabs/smithy-rs, which is the basis upon which the AWS Rust SDKs are built. The team behind it are still refining it, there’s the odd corner-case with smithy models that will catch it, but it is pretty decent now.