Repository navigation
v1.0.0-alpha.21
Pre-release
Pre-release
Changed
- Improve automatic trait bounds (#422 / #373)
- Type params that are only used in skipped fields or
PhantomDatano longer have an unnecessaryJsonSchemabound automatically added - Remove type params from default
schema_name()whether or not they implJsonSchema. Type params can still be included in the name by specifying them in a rename attribute.
- Type params that are only used in skipped fields or
- Recursive references to the root schema type now use
"$ref": "#"instead of duplicating the entire schema within$defs/definitions(#418 / #175) - Schemas for untagged enum variants no longer have the
"title"set to the variant name (added in alpha.19) by default, but this behaviour is still available by setting theuntagged_enum_variant_titlesflag onSchemaSettings. (#421 / #420)