Skip to main content

openapi_to_rust/
lib.rs

1pub mod analysis;
2pub mod cli;
3pub mod client_generator;
4pub mod config;
5pub mod error;
6pub mod generator;
7pub mod http_config;
8pub mod http_error;
9pub mod openapi;
10pub mod patterns;
11pub mod streaming;
12
13pub mod test_helpers;
14
15pub use analysis::{SchemaAnalysis, SchemaAnalyzer, merge_schema_extensions};
16pub use config::ConfigFile;
17pub use error::GeneratorError;
18pub use generator::{CodeGenerator, GeneratedFile, GenerationResult, GeneratorConfig};
19pub use http_config::{AuthConfig, HttpClientConfig, RetryConfig};
20pub use http_error::{HttpError, HttpResult};
21pub use openapi::{OpenApiSpec, Schema, SchemaType};
22
23pub type Result<T> = std::result::Result<T, GeneratorError>;