oas3-gen and openapi-to-rust

These are competitors offering similar core functionality—both generate Rust type bindings from OpenAPI 3.1 specifications—though oas3-gen focuses purely on type generation while openapi-to-rust additionally generates HTTP clients and SSE streaming support.

oas3-gen
47
Emerging
openapi-to-rust
39
Emerging
Maintenance 10/25
Adoption 13/25
Maturity 9/25
Community 15/25
Maintenance 10/25
Adoption 8/25
Maturity 9/25
Community 12/25
Stars: 16
Forks: 5
Downloads: 1,146
Commits (30d): 0
Language: Rust
License: MIT
Stars: 5
Forks: 1
Downloads: 33
Commits (30d): 0
Language: Rust
License: MIT
No Package No Dependents
No Package No Dependents

About oas3-gen

eklipse2k8/oas3-gen

Rust OpenAPI 3.1 Type Generator

Generates idiomatic Rust types, clients, and axum-based server implementations directly from OpenAPI 3.1 specs with automatic parameter extraction, request deserialization, and response routing. Supports schema composition (allOf/oneOf/anyOf), cycle detection, custom serde formats, and enum helpers while preserving schema documentation as rustdoc comments. Handles JSON/YAML specs with configurable visibility, optional `bon` builder pattern integration, and OData field handling for enterprise API compatibility.

About openapi-to-rust

gpu-cli/openapi-to-rust

Generate strongly-typed Rust structs, HTTP clients, and SSE streaming clients from OpenAPI 3.1 specs

Scores updated daily from GitHub, PyPI, and npm data. How scores work