Skip to content

Commit

Permalink
Remove "not" from SemiRecursiveTransform
Browse files Browse the repository at this point in the history
  • Loading branch information
GREsau committed Aug 22, 2024
1 parent 69a5a14 commit 2fad83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemars/src/transform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ where
if let Some(obj) = schema.as_object_mut() {
for (key, value) in obj.iter_mut() {
match key.as_str() {
"not" | "if" | "then" | "else" => {
"if" | "then" | "else" => {
if let Ok(subschema) = value.try_into() {
self.transform(subschema);
}
Expand Down

0 comments on commit 2fad83b

Please sign in to comment.