mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-11-14 22:30:51 +01:00
fix: transactions can have 0 for values in units / price
This commit is contained in:
parent
4b62bf3252
commit
ec0b708378
@ -24,17 +24,17 @@
|
|||||||
"units": {
|
"units": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The number of units of the transaction.",
|
"description": "The number of units of the transaction.",
|
||||||
"minimum": 1
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"pricePerUnit": {
|
"pricePerUnit": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The price per unit of the transaction.",
|
"description": "The price per unit of the transaction.",
|
||||||
"minimum": 1
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"totalPrice": {
|
"totalPrice": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The total price of the transaction.",
|
"description": "The total price of the transaction.",
|
||||||
"minimum": 1
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"timestamp": {
|
"timestamp": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
"price": {
|
"price": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"description": "The price of the transaction.",
|
"description": "The price of the transaction.",
|
||||||
"minimum": 1
|
"minimum": 0
|
||||||
},
|
},
|
||||||
"agentSymbol": {
|
"agentSymbol": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
Loading…
Reference in New Issue
Block a user