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