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:
Graham Esau 2024-05-18 22:37:40 +01:00 committed by GitHub
parent cf5be1b266
commit 7ecaa7feab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 6 deletions

4
Cargo.lock generated
View file

@ -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",