Skip to content

Commit

Permalink
make *_form_default optional
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-bachmann committed Jun 17, 2024
1 parent 4d49ecf commit d36b116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xml_schema_derive/src/xsd/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ pub struct Schema {
#[yaserde(rename = "targetNamespace", attribute)]
pub target_namespace: Option<String>,
#[yaserde(rename = "elementFormDefault", attribute)]
pub element_form_default: qualification::Qualification,
pub element_form_default: Option<qualification::Qualification>,
#[yaserde(rename = "attributeFormDefault", attribute)]
pub attribute_form_default: qualification::Qualification,
pub attribute_form_default: Option<qualification::Qualification>,
#[yaserde(rename = "import")]
pub imports: Vec<import::Import>,
#[yaserde(rename = "element")]
Expand Down

0 comments on commit d36b116

Please sign in to comment.