aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/date_format.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-07 03:57:33 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-07 03:57:33 -0500
commita942c7c8e17eb829ef1581c0b556665784f19e33 (patch)
treeff391dc8d22860009bd06f77042cb74d6eb6c1f2 /src/models/date_format.rs
parent4c94e5f9101c14bfc5c6989d11ea6c855c809f0b (diff)
downloadynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.tar.gz
ynab-api-a942c7c8e17eb829ef1581c0b556665784f19e33.zip
update openapi spec and regenerate with newer openapi-generator
the newer openapi-generator picks up fixes for optional parameters, among other things
Diffstat (limited to 'src/models/date_format.rs')
-rw-r--r--src/models/date_format.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/models/date_format.rs b/src/models/date_format.rs
index d9259d9..9a4ce0f 100644
--- a/src/models/date_format.rs
+++ b/src/models/date_format.rs
@@ -11,6 +11,7 @@
/// DateFormat : The date format setting for the budget. In some cases the format will not be available and will be specified as null.
+
#[derive(Debug, PartialEq, Serialize, Deserialize)]
pub struct DateFormat {
#[serde(rename = "format")]
@@ -21,7 +22,7 @@ impl DateFormat {
/// The date format setting for the budget. In some cases the format will not be available and will be specified as null.
pub fn new(format: String) -> DateFormat {
DateFormat {
- format: format,
+ format,
}
}
}