Make Option<T> fields optional in generated schemas (#16)
This commit is contained in:
parent
60284fdf93
commit
4ad5000232
14 changed files with 269 additions and 148 deletions
|
@ -1,5 +1,9 @@
|
|||
# Changelog
|
||||
|
||||
## Current changes (version TBC)
|
||||
### Fixed:
|
||||
- When deriving `JsonSchema` on structs, `Option<T>` struct fields are no longer included in the list of required properties in the schema (https://github.com/GREsau/schemars/issues/11)
|
||||
|
||||
## [0.7.0-alpha-1] - 2019-12-29
|
||||
### Changed:
|
||||
- **BREAKING CHANGE** - `SchemaSettings` can no longer be created using struct initialization syntax. Instead, if you need to use custom schema settings, you can use a constructor function and either:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue