diff --git a/Cargo.toml b/Cargo.toml index 1fe5920..b7c8c7e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vrchatapi" -version = "1.6.0" +version = "1.6.3" authors = ["OpenAPI Generator team and contributors"] license = "MIT" edition = "2018" diff --git a/docs/World.md b/docs/World.md index f4eec1d..8990d83 100644 --- a/docs/World.md +++ b/docs/World.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**asset_url** | **String** | | +**asset_url** | **String** | Empty if unauthenticated. | **asset_url_object** | [**serde_json::Value**](.md) | | **author_id** | **String** | A users unique ID, usually in the form of `usr_c1644b5b-3ca4-45b4-97c6-a2a0de70d469`. Legacy players can have old IDs in the form of `8JoV9XEdpo`. The ID can never be changed. | **author_name** | **String** | | @@ -32,7 +32,7 @@ Name | Type | Description | Notes **tags** | **Vec** | | **thumbnail_image_url** | **String** | | **unity_package_url_object** | [**serde_json::Value**](.md) | | -**unity_packages** | [**Vec**](UnityPackage.md) | | +**unity_packages** | [**Vec**](UnityPackage.md) | Empty if unauthenticated. | **updated_at** | **String** | | **version** | **i32** | | [default to 0] **visits** | **i32** | | [default to 0] diff --git a/src/models/world.rs b/src/models/world.rs index a492d01..a6e9ab0 100644 --- a/src/models/world.rs +++ b/src/models/world.rs @@ -11,6 +11,7 @@ #[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)] pub struct World { + /// Empty if unauthenticated. #[serde(rename = "assetUrl")] pub asset_url: String, #[serde(rename = "assetUrlObject")] @@ -69,6 +70,7 @@ pub struct World { pub thumbnail_image_url: String, #[serde(rename = "unityPackageUrlObject")] pub unity_package_url_object: serde_json::Value, + /// Empty if unauthenticated. #[serde(rename = "unityPackages")] pub unity_packages: Vec, #[serde(rename = "updated_at")]