mirror of
https://github.com/SpaceTradersAPI/api-docs.git
synced 2024-12-23 21:40:14 +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": {
|
||||
"type": "integer",
|
||||
"description": "The number of units of the transaction.",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"pricePerUnit": {
|
||||
"type": "integer",
|
||||
"description": "The price per unit of the transaction.",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"totalPrice": {
|
||||
"type": "integer",
|
||||
"description": "The total price of the transaction.",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"timestamp": {
|
||||
"type": "string",
|
||||
|
@ -12,7 +12,7 @@
|
||||
"price": {
|
||||
"type": "integer",
|
||||
"description": "The price of the transaction.",
|
||||
"minimum": 1
|
||||
"minimum": 0
|
||||
},
|
||||
"agentSymbol": {
|
||||
"type": "string",
|
||||
|
Loading…
Reference in New Issue
Block a user