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/date_format.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/models/date_format.rs') 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, } } } -- cgit v1.2.3-54-g00ecf