Revert unintentional change in behaviour when combining default
and required
attributes (#293)
Never add a field with the `default` attribute to a schema's `required` properties
This commit is contained in:
parent
cf5be1b266
commit
7ecaa7feab
5 changed files with 12 additions and 6 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -318,7 +318,7 @@ checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|||
|
||||
[[package]]
|
||||
name = "schemars"
|
||||
version = "0.8.19"
|
||||
version = "0.8.20"
|
||||
dependencies = [
|
||||
"arrayvec 0.5.2",
|
||||
"arrayvec 0.7.4",
|
||||
|
@ -347,7 +347,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "schemars_derive"
|
||||
version = "0.8.19"
|
||||
version = "0.8.20"
|
||||
dependencies = [
|
||||
"pretty_assertions",
|
||||
"proc-macro2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue