Update changelog
This commit is contained in:
parent
342b2dff33
commit
28258ae99b
1 changed files with 4 additions and 0 deletions
|
@ -6,6 +6,10 @@
|
|||
|
||||
- Add `#[schemars(inner(...)]` attribute to specify schema for array items (https://github.com/GREsau/schemars/pull/234)
|
||||
|
||||
### Changed:
|
||||
|
||||
- New optional associated function on `JsonSchema` trait: `schema_id()`, which is similar to `schema_name()`, but does not have to be human-readable, and defaults to the type name including module path. This allows schemars to differentiate between types with the same name in different modules/crates (https://github.com/GREsau/schemars/issues/62 / https://github.com/GREsau/schemars/pull/247)
|
||||
|
||||
### Fixed:
|
||||
|
||||
- Schemas for `rust_decimal::Decimal` and `bigdecimal::BigDecimal` now match how those types are serialized by default, i.e. as numeric strings (https://github.com/GREsau/schemars/pull/248)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue