From a942c7c8e17eb829ef1581c0b556665784f19e33 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 7 Nov 2019 03:57:33 -0500 Subject: update openapi spec and regenerate with newer openapi-generator the newer openapi-generator picks up fixes for optional parameters, among other things --- src/models/month_summary.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/models/month_summary.rs') diff --git a/src/models/month_summary.rs b/src/models/month_summary.rs index f1efaee..b0d67e9 100644 --- a/src/models/month_summary.rs +++ b/src/models/month_summary.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct MonthSummary { #[serde(rename = "month")] @@ -39,14 +40,14 @@ pub struct MonthSummary { impl MonthSummary { pub fn new(month: String, income: i64, budgeted: i64, activity: i64, to_be_budgeted: i64, deleted: bool) -> MonthSummary { MonthSummary { - month: month, + month, note: None, - income: income, - budgeted: budgeted, - activity: activity, - to_be_budgeted: to_be_budgeted, + income, + budgeted, + activity, + to_be_budgeted, age_of_money: None, - deleted: deleted, + deleted, } } } -- cgit v1.2.3-54-g00ecf