diff --git a/Cargo.lock b/Cargo.lock index 06a011d..e095454 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2294,7 +2294,7 @@ dependencies = [ [[package]] name = "torn-api" -version = "1.6.2" +version = "1.6.4" dependencies = [ "bon", "bytes", diff --git a/torn-api/Cargo.toml b/torn-api/Cargo.toml index c0d31ee..5b0558c 100644 --- a/torn-api/Cargo.toml +++ b/torn-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "torn-api" -version = "1.6.2" +version = "1.6.4" edition = "2021" description = "Auto-generated bindings for the v2 torn api" license-file = { workspace = true } diff --git a/torn-api/openapi.json b/torn-api/openapi.json index e01f22b..b45e528 100644 --- a/torn-api/openapi.json +++ b/torn-api/openapi.json @@ -14971,13 +14971,20 @@ "properties": { "crimes": { "required": [ - "total", "version" ], "properties": { - "total": { - "type": "integer", - "format": "int32" + "offenses": { + "type": "object", + "required": [ + "total" + ], + "properties": { + "total": { + "type": "integer", + "format": "int32" + } + } }, "version": { "type": "string" @@ -16606,10 +16613,10 @@ "$ref": "#/components/schemas/UserPersonalStatsFullPublic" }, { - "$ref": "#/components/schemas/UserPersonalStatsCategory" + "$ref": "#/components/schemas/UserPersonalStatsPopular" }, { - "$ref": "#/components/schemas/UserPersonalStatsPopular" + "$ref": "#/components/schemas/UserPersonalStatsCategory" }, { "$ref": "#/components/schemas/UserPersonalStatsHistoric" @@ -22868,4 +22875,4 @@ "description": "Part of Torn section" } ] -} \ No newline at end of file +}