Skip to main content

Crate openapi_to_rust

Crate openapi_to_rust 

Source

Re-exports§

pub use analysis::SchemaAnalysis;
pub use analysis::SchemaAnalyzer;
pub use analysis::merge_schema_extensions;
pub use config::ConfigFile;
pub use error::GeneratorError;
pub use generator::CodeGenerator;
pub use generator::GeneratedFile;
pub use generator::GenerationResult;
pub use generator::GeneratorConfig;
pub use http_config::AuthConfig;
pub use http_config::HttpClientConfig;
pub use http_config::RetryConfig;
pub use http_error::ApiError;
pub use http_error::ApiOpError;
pub use http_error::HttpError;
pub use http_error::HttpResult;
pub use openapi::OpenApiSpec;
pub use openapi::Schema;
pub use openapi::SchemaType;
pub use type_mapping::DepRequirement;
pub use type_mapping::MappedType;
pub use type_mapping::TypeFeature;
pub use type_mapping::TypeMapper;
pub use type_mapping::TypeMappingConfig;
pub use type_mapping::UsedFeatures;

Modules§

analysis
cli
client_generator
HTTP client generation for OpenAPI specifications.
config
TOML configuration file support for OpenAPI code generation.
error
extensions
Specification Extensions support — x-* fields per OAS §“Specification Extensions”.
generator
http_config
Runtime HTTP client configuration types
http_error
HTTP client error types with comprehensive retry detection.
openapi
patterns
registry_generator
Operation registry generation for OpenAPI specifications.
server
Server codegen — opt-in Axum scaffolding for user-selected operations.
streaming
test_helpers
type_mapping
Centralized OpenAPI type → Rust type mapping.

Type Aliases§

Result