0.20.1
(fix): Fix unexpected_cfgs warnings for multipart and sse features by conditionally including
the execute_multipart_request and execute_sse_request methods in http_client.rs only when
the corresponding features are needed. Also fix unused Utc import in query_parameter_builder.rs
and unused SerdeError import in http_client.rs.
0.20.0
(feat): Reduce dependency footprint by conditionally including dependencies based on IR usage.
Dependencies like chrono, uuid, num-bigint, ordered-float, and base64 are now only added
to Cargo.toml when the corresponding types are actually used in the API spec. Associated
as-is files (flexible_datetime.rs, base64_bytes.rs, bigint_string.rs) and their module
declarations are also conditionally included. Template files for query_parameter_builder.rs,
http_client.rs, and prelude.rs use template variables to omit unused code sections.
0.19.11
(fix): Use &str instead of &String in generated method signatures, union getter methods,
and undiscriminated union accessor methods. &str is more idiomatic Rust and more
flexible, accepting both &String and string literals.
0.19.10
(fix): Replace unwrap_or_default() with proper error propagation via map_err(ApiError::Serialization)?
when serializing request bodies with serde_json::to_value. Previously, serialization failures
were silently swallowed and replaced with a default JSON null value. Now they correctly return
an ApiError::Serialization error to the caller.