Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ when correcting output that was wrong or incomplete on the wire.
so existing validation error links resolve (#109). Website builds now check
that every emitted problem URI has a page. Document response middleware for
customizing the existing public validation error profile.
- An object schema whose `allOf` holds only `if`/`then`/`else` rules now
generates as its struct instead of `serde_json::Value`, so a discriminated
`oneOf` with it as a branch stays tagged (#111). Conditional-only members are
value rules and no longer shape the composed type, and an owner's own
`properties` are kept when its `allOf` has a single `$ref` or untyped member.
- Error variants that wrap a source with `#[from]` no longer repeat it in their
message, so error-chain reporters print each cause once (#112). This covers
generated `HttpError::{Network, Middleware}` and `StreamingError::Json`, plus
this crate's `GeneratorError`, `HttpError`, and `server` edit errors. Use
`std::error::Error::source()` (or a chain reporter such as `anyhow`'s `{:#}`)
to show the cause; the CLI and playground now render the full chain.

## [0.23.0] - 2026-10-25

Expand Down
17 changes: 17 additions & 0 deletions examples/generated/REQUIRED_DEPS.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated by openapi-to-rust.
# Complete direct dependencies for this generated output.
# Append this fragment to the consuming crate's Cargo.toml, or
# merge it with existing dependency and feature sections.

[dependencies]
futures-util = "0.3"
reqwest = { version = "0.13", default-features = false, features = ["rustls", "stream"] }
reqwest-middleware = "0.5"
reqwest-retry = "0.9"
reqwest-tracing = "0.7"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"

[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.4", features = ["wasm_js"] }
Loading
Loading