Skip to content

Commit 73bffd0

Browse files
chore: release 0.12.1
1 parent d83f526 commit 73bffd0

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,22 @@ when correcting output that was wrong or incomplete on the wire.
66

77
## [Unreleased]
88

9+
## [0.12.1] - 2026-08-07
10+
11+
### Fixed
12+
13+
- Distinct OpenAPI component keys that normalize to the same Rust identifier
14+
are deterministically disambiguated instead of silently dropping a model;
15+
references, discriminator mappings, dependencies, and operation schemas are
16+
rewritten to the emitted names.
17+
- Implicit discriminators are selected only when every union branch has a
18+
unique constant value. Ambiguous unions now remain untagged, preserving
19+
nested constant fields so Serde can distinguish branches at runtime.
20+
21+
### Changed
22+
23+
- The real-world compile corpus now includes the OpenCode OpenAPI 3.1 document.
24+
925
## [0.12.0] - 2026-07-29
1026

1127
This release broadens the set of real-world protocols that generated clients

‎Cargo.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exclude = ["tmp"]
66

77
[package]
88
name = "openapi-to-rust"
9-
version = "0.12.0"
9+
version = "0.12.1"
1010
edition = "2024"
1111
rust-version = "1.88.0"
1212
autobins = false

0 commit comments

Comments
 (0)