Skip to content

Commit

Permalink
Merge pull request #46 from AMCON-GmbH/optional-form-defaults
Browse files Browse the repository at this point in the history
make *_form_default optional
  • Loading branch information
MarcAntoine-Arnaud authored Jun 17, 2024
2 parents 4d49ecf + d36b116 commit 1194916
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 1194916

Please sign in to comment.