From 1b8dc9b3427be082b809df61fcf5fdb66cc5671f Mon Sep 17 00:00:00 2001 From: VRCCat Date: Sun, 19 Feb 2023 12:15:22 +0000 Subject: [PATCH] Upgrade Rust SDK to spec 1.11.1 --- Cargo.toml | 2 +- docs/GroupsApi.md | 6 +++--- src/apis/groups_api.rs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 037790d..1c3aeb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrchatapi" -version = "1.11.0" +version = "1.11.1" authors = ["me@ariesclark.com"] description = "VRChat API Client for Rust" license = "MIT" diff --git a/docs/GroupsApi.md b/docs/GroupsApi.md index 4a8a83c..f4f0be0 100644 --- a/docs/GroupsApi.md +++ b/docs/GroupsApi.md @@ -853,10 +853,10 @@ Name | Type | Description | Required | Notes ## join_group -> crate::models::Group join_group(group_id) +> crate::models::GroupMember join_group(group_id) Join Group -Join a Group by ID and returns the joined Group. +Join a Group by ID and returns the member object. ### Parameters @@ -867,7 +867,7 @@ Name | Type | Description | Required | Notes ### Return type -[**crate::models::Group**](Group.md) +[**crate::models::GroupMember**](GroupMember.md) ### Authorization diff --git a/src/apis/groups_api.rs b/src/apis/groups_api.rs index a605e7f..1d48ebb 100644 --- a/src/apis/groups_api.rs +++ b/src/apis/groups_api.rs @@ -1114,8 +1114,8 @@ pub fn get_group_roles(configuration: &configuration::Configuration, group_id: & } } -/// Join a Group by ID and returns the joined Group. -pub fn join_group(configuration: &configuration::Configuration, group_id: &str) -> Result> { +/// Join a Group by ID and returns the member object. +pub fn join_group(configuration: &configuration::Configuration, group_id: &str) -> Result> { let local_var_configuration = configuration; let local_var_client = &local_var_configuration.client;