Repository navigation
v0.3.0-beta.1
Pre-release
Pre-release
·
5 commits
to release/0.3.0
since this release
Bug Fixes
- Bring
Parameterobject into AsyncAPI 3.0 compliance —schema_type/formatreplaced withdefault,enum_values,examples,location(reported by @pureions, #5) ToAsyncApiMessageno longer panics on enums containingserde_json::Valuefields (reported by @csells, #4)- Per-variant payload schema for tagged enums — each message now carries only its own variant schema instead of the whole-enum
oneOf. Works with anyserde(tag = "...")field name, not just"type". Shared$defsare embedded per-variant for self-contained payloads. (#6, #2)
Breaking Changes
#[asyncapi_channel(...)] parameter attributes no longer accept schema_type or format (removed from the AsyncAPI 3.0 Parameter object). Use examples, default, enum_values, or location instead.
Testing this beta
Add to your Cargo.toml:
asyncapi-rust = { git = "https://github.com/mlilback/asyncapi-rust", tag = "v0.3.0-beta.1" }