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/payee_locations_response_data.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/models/payee_locations_response_data.rs') diff --git a/src/models/payee_locations_response_data.rs b/src/models/payee_locations_response_data.rs index 32e061d..4557fac 100644 --- a/src/models/payee_locations_response_data.rs +++ b/src/models/payee_locations_response_data.rs @@ -10,6 +10,7 @@ + #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct PayeeLocationsResponseData { #[serde(rename = "payee_locations")] @@ -19,7 +20,7 @@ pub struct PayeeLocationsResponseData { impl PayeeLocationsResponseData { pub fn new(payee_locations: Vec) -> PayeeLocationsResponseData { PayeeLocationsResponseData { - payee_locations: payee_locations, + payee_locations, } } } -- cgit v1.2.3-54-g00ecf