Make models derive Clone, regen

Only couple descriptions changed in spec.
pull/34/head
Mingwei Samuel 2021-10-29 22:21:02 -07:00
parent fda0836d27
commit 0e22623056
4 changed files with 129 additions and 129 deletions

View File

@ -7,7 +7,7 @@
/////////////////////////////////////////////// ///////////////////////////////////////////////
// http://www.mingweisamuel.com/riotapi-schema/tool/ // http://www.mingweisamuel.com/riotapi-schema/tool/
// Version 1f61128ea79f3d07bd47c2f585e9f22905bed753 // Version 309704e3979855858e36430b178e507e48702059
//! Automatically generated endpoint handles. //! Automatically generated endpoint handles.

View File

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

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,7 @@ pub mod {{= dotUtils.changeCase.snakeCase(endpoint) }} {
/// ///
/// Note: This struct is automatically generated /// Note: This struct is automatically generated
{{?}} {{?}}
#[derive(Debug)] #[derive(Clone, Debug)]
#[derive(serde::Serialize, serde::Deserialize)] #[derive(serde::Serialize, serde::Deserialize)]
pub struct {{= schemaName }} { pub struct {{= schemaName }} {
{{ {{