chore(api): update schema

This commit is contained in:
pyrite 2025-09-10 18:55:41 +02:00
parent 491f262572
commit c3ea04a9ba
Signed by: pyrite
GPG key ID: 7F1BA9170CD35D15
3 changed files with 5 additions and 5 deletions

2
Cargo.lock generated
View file

@ -2294,7 +2294,7 @@ dependencies = [
[[package]] [[package]]
name = "torn-api" name = "torn-api"
version = "1.7.6" version = "1.7.7"
dependencies = [ dependencies = [
"bon", "bon",
"bytes", "bytes",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "torn-api" name = "torn-api"
version = "1.7.6" version = "1.7.7"
edition = "2021" edition = "2021"
description = "Auto-generated bindings for the v2 torn api" description = "Auto-generated bindings for the v2 torn api"
license = { workspace = true } license = { workspace = true }

View file

@ -3,7 +3,7 @@
"info": { "info": {
"title": "Torn API", "title": "Torn API",
"description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.", "description": "\n * The development of Torn's API v2 is still ongoing.\n * If selections remain unaltered, they will default to the API v1 version.\n * Unlike API v1, API v2 accepts both selections and IDs as path and query parameters.\n * If any discrepancies or errors are found, please submit a [bug report](https://www.torn.com/forums.php#/p=forums&f=19&b=0&a=0) on the Torn Forums.\n * In case you're using bots to check for changes on openapi.json file, make sure to specificy a custom user-agent header - CloudFlare sometimes prevents requests from default user-agents.",
"version": "3.0.18" "version": "3.0.19"
}, },
"servers": [ "servers": [
{ {
@ -15259,11 +15259,11 @@
"type": "object" "type": "object"
}, },
"ProfileSpouse": { "ProfileSpouse": {
"description": "The property 'days_married' is not present if the status is 'Engaged'",
"required": [ "required": [
"id", "id",
"name", "name",
"status", "status"
"days_married"
], ],
"properties": { "properties": {
"id": { "id": {