mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-10-26 14:10:36 +03:00
get rid of the option
This commit is contained in:
parent
eed47bcf50
commit
4da193bbc5
@ -7,7 +7,8 @@ use std::path::Path;
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
pub struct Schema {
|
||||
pub definitions: Option<BTreeMap<String, jtd::SerdeSchema>>,
|
||||
#[serde(default)]
|
||||
pub definitions: BTreeMap<String, jtd::SerdeSchema>,
|
||||
pub flags: Option<jtd::SerdeSchema>,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user