Regenerate files

This commit is contained in:
Lukas Wirth 2024-07-19 18:39:42 +02:00
parent 6d4989b3c7
commit 89bcc79b5d
2 changed files with 8 additions and 2 deletions

View file

@ -2751,7 +2751,7 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
"FxHashMap<String, String>" => set! {
"type": "object",
},
"FxHashMap<Box<str>, usize>" => set! {
"FxHashMap<Box<str>, u16>" => set! {
"type": "object",
},
"FxHashMap<String, Option<String>>" => set! {
@ -2761,6 +2761,11 @@ fn field_props(field: &str, ty: &str, doc: &[&str], default: &str) -> serde_json
"type": ["null", "integer"],
"minimum": 0,
},
"Option<u16>" => set! {
"type": ["null", "integer"],
"minimum": 0,
"maximum": 65535,
},
"Option<String>" => set! {
"type": ["null", "string"],
},

View file

@ -2252,7 +2252,8 @@
"null",
"integer"
],
"minimum": 0
"minimum": 0,
"maximum": 65535
}
}
},