Regen for optional `tft-match-v1.UnitDto.items`, fix #50

pull/52/head
Mingwei Samuel 2023-03-08 13:51:15 -08:00
parent 7f0b63bf92
commit 599f88ec73
3 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version f3bb2db3eef1ffd9fa3bb8ce0fdaf1c167dc6ae2 // Version eac495e7f53e2f13cedbe13e257ef23569f53919
//! Automatically generated endpoint handles. //! Automatically generated endpoint handles.
#![allow(clippy::let_and_return, clippy::too_many_arguments)] #![allow(clippy::let_and_return, clippy::too_many_arguments)]

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version f3bb2db3eef1ffd9fa3bb8ce0fdaf1c167dc6ae2 // Version eac495e7f53e2f13cedbe13e257ef23569f53919
//! Metadata about the Riot API and Riven. //! Metadata about the Riot API and Riven.
//! //!

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version f3bb2db3eef1ffd9fa3bb8ce0fdaf1c167dc6ae2 // Version eac495e7f53e2f13cedbe13e257ef23569f53919
#![allow(missing_docs)] #![allow(missing_docs)]
@ -2618,7 +2618,8 @@ pub mod tft_match_v1 {
pub item_names: Option<std::vec::Vec<String>>, pub item_names: Option<std::vec::Vec<String>>,
/// A list of the unit's items. Please refer to the Teamfight Tactics documentation for item ids. /// A list of the unit's items. Please refer to the Teamfight Tactics documentation for item ids.
#[serde(rename = "items")] #[serde(rename = "items")]
pub items: std::vec::Vec<i32>, #[serde(skip_serializing_if = "Option::is_none")]
pub items: Option<std::vec::Vec<i32>>,
/// This field was introduced in patch 9.22 with data_version 2. /// This field was introduced in patch 9.22 with data_version 2.
#[serde(rename = "character_id")] #[serde(rename = "character_id")]
pub character_id: String, pub character_id: String,