chore(codegen): updated spec
This commit is contained in:
parent
4b52c37774
commit
c5651efbb0
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -2290,7 +2290,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "torn-api-codegen"
|
name = "torn-api-codegen"
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"heck",
|
"heck",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "torn-api-codegen"
|
name = "torn-api-codegen"
|
||||||
authors = ["Pyrit [2111649]"]
|
authors = ["Pyrit [2111649]"]
|
||||||
version = "0.1.1"
|
version = "0.1.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
description = "Contains the v2 torn API model descriptions and codegen for the bindings"
|
description = "Contains the v2 torn API model descriptions and codegen for the bindings"
|
||||||
license-file = { workspace = true }
|
license-file = { workspace = true }
|
||||||
|
|
|
@ -8774,7 +8774,9 @@
|
||||||
"attacksrunaway",
|
"attacksrunaway",
|
||||||
"highestterritories",
|
"highestterritories",
|
||||||
"territoryrespect",
|
"territoryrespect",
|
||||||
"membersamount"
|
"membersamount",
|
||||||
|
"factionage",
|
||||||
|
"upgradesamount"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"FactionBranchStateEnum": {
|
"FactionBranchStateEnum": {
|
||||||
|
@ -15325,7 +15327,7 @@
|
||||||
"calendar",
|
"calendar",
|
||||||
"crimes",
|
"crimes",
|
||||||
"education",
|
"education",
|
||||||
"factionHof",
|
"factionhof",
|
||||||
"factiontree",
|
"factiontree",
|
||||||
"hof",
|
"hof",
|
||||||
"itemammo",
|
"itemammo",
|
||||||
|
@ -19336,7 +19338,7 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"value": {
|
"value": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "int32"
|
"format": "int64"
|
||||||
},
|
},
|
||||||
"rank": {
|
"rank": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
|
@ -19355,8 +19357,15 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"rank": {
|
"rank": {
|
||||||
"type": "integer",
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "number",
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
|
|
Loading…
Reference in a new issue