From 18b076203b399d3b7a9c49be653e39b3b800af23 Mon Sep 17 00:00:00 2001 From: Mingwei Samuel Date: Sat, 31 Oct 2020 22:33:33 -0700 Subject: [PATCH] Regen for missing tft-match-v1.UnitDto.chosen, Release 1.10.2 https://github.com/MingweiSamuel/riotapi-schema/issues/23 Fixes #20 --- Cargo.toml | 2 +- src/endpoints.rs | 2 +- src/meta.rs | 2 +- src/models.rs | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f56500c..d3fbaa8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "riven" -version = "1.10.1" +version = "1.10.2" authors = ["Mingwei Samuel "] repository = "https://github.com/MingweiSamuel/Riven" description = "Riot Games API Library" diff --git a/src/endpoints.rs b/src/endpoints.rs index 7e7dea2..827ea1b 100644 --- a/src/endpoints.rs +++ b/src/endpoints.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 5aeaf3fd13c4a91f0fc65318334dd1247b8376cd +// Version 46d6543508faf7f5f800259caddca32c99565c64 //! Automatically generated endpoint handles. diff --git a/src/meta.rs b/src/meta.rs index f4be771..9762354 100644 --- a/src/meta.rs +++ b/src/meta.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 5aeaf3fd13c4a91f0fc65318334dd1247b8376cd +// Version 46d6543508faf7f5f800259caddca32c99565c64 //! Metadata about the Riot API and Riven. //! diff --git a/src/models.rs b/src/models.rs index 29a58f4..322aefe 100644 --- a/src/models.rs +++ b/src/models.rs @@ -7,7 +7,7 @@ /////////////////////////////////////////////// // http://www.mingweisamuel.com/riotapi-schema/tool/ -// Version 5aeaf3fd13c4a91f0fc65318334dd1247b8376cd +// Version 46d6543508faf7f5f800259caddca32c99565c64 //! Data transfer structs. //! @@ -1628,6 +1628,8 @@ pub mod tft_match_v1 { /// Unit tier. #[serde(rename = "tier")] pub tier: i32, + #[serde(rename = "chosen")] + pub chosen: Option, } /// Companion data object. #[derive(Debug)]