update numbers to integers where appropriate

This commit is contained in:
Space Admiral 2022-03-23 08:37:54 -07:00
parent 4fbd83c2e4
commit 078ca60601
13 changed files with 53 additions and 53 deletions

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
x-examples:
example-1:
@ -17,7 +17,7 @@ properties:
type: string
minLength: 1
credits:
type: number
type: integer
required:
- accountId
- symbol

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
properties:
id:
@ -20,9 +20,9 @@ properties:
type: object
properties:
onAccepted:
type: number
type: integer
onFulfilled:
type: number
type: integer
required:
- onAccepted
- onFulfilled
@ -44,9 +44,9 @@ properties:
type: string
minLength: 1
units:
type: number
type: integer
fulfilled:
type: number
type: integer
required:
- deadline
- payment
@ -72,7 +72,7 @@ x-examples:
faction: COMMERCE_REPUBLIC
type: PROCUREMENT
terms:
deadline: '2022-03-11T05:16:59.113Z'
deadline: "2022-03-11T05:16:59.113Z"
payment:
onAccepted: 20000
onFulfilled: 100000
@ -83,13 +83,13 @@ x-examples:
fulfilled: 0
accepted: false
fulfilled: false
expiresAt: '2022-03-09T05:16:59.112Z'
expiresAt: "2022-03-09T05:16:59.112Z"
examples:
- id: cl0hok38t0014ks0jnoy8o5vh
faction: COMMERCE_REPUBLIC
type: PROCUREMENT
terms:
deadline: '2022-03-11T05:16:59.113Z'
deadline: "2022-03-11T05:16:59.113Z"
payment:
onAccepted: 20000
onFulfilled: 100000
@ -100,4 +100,4 @@ examples:
fulfilled: 0
accepted: false
fulfilled: false
expiresAt: '2022-03-09T05:16:59.112Z'
expiresAt: "2022-03-09T05:16:59.112Z"

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
properties:
data:
@ -11,9 +11,9 @@ properties:
type: string
minLength: 1
units:
type: number
type: integer
fulfilled:
type: number
type: integer
required:
- tradeSymbol
- destination

View File

@ -1,8 +1,8 @@
description: ''
description: ""
type: object
properties:
duration:
type: number
type: integer
expiration:
type: string
minLength: 1
@ -12,7 +12,7 @@ required:
x-examples:
example-1:
duration: 119
expiration: '2022-03-12T00:41:29.285Z'
expiration: "2022-03-12T00:41:29.285Z"
examples:
- duration: 119
expiration: '2022-03-12T00:41:29.285Z'
expiration: "2022-03-12T00:41:29.285Z"

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
properties:
shipSymbol:
@ -11,7 +11,7 @@ properties:
type: string
minLength: 1
units:
type: number
type: integer
required:
- tradeSymbol
- units

View File

@ -8,9 +8,9 @@ properties:
type: string
minLength: 1
price:
type: number
type: integer
tariff:
type: number
type: integer
required:
- waypointSymbol
- tradeSymbol

View File

@ -1,12 +1,12 @@
description: ''
description: ""
type: object
properties:
total:
type: number
type: integer
page:
type: number
type: integer
limit:
type: number
type: integer
required:
- total
- page

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
x-examples:
example-1:
@ -93,7 +93,7 @@ properties:
type: string
minLength: 1
fee:
type: number
type: integer
role:
type: string
minLength: 1
@ -127,12 +127,12 @@ properties:
type: string
minLength: 1
units:
type: number
type: integer
required:
- tradeSymbol
- units
fuel:
type: number
type: integer
required:
- symbol
- frame

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
properties:
shipSymbol:
@ -11,7 +11,7 @@ properties:
type: string
minLength: 1
durationRemaining:
type: number
type: integer
arrivedAt: {}
required:
- shipSymbol

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
x-examples:
example-1:
@ -33,7 +33,7 @@ properties:
type: string
minLength: 1
price:
type: number
type: integer
role:
type: string
minLength: 1

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
x-examples:
example-1:
@ -6,7 +6,7 @@ x-examples:
sector: X1
type: RED_STAR
x: 0
'y': 0
"y": 0
waypoints:
- X1-OE-PM
- X1-OE-PM01
@ -23,7 +23,7 @@ examples:
sector: X1
type: RED_STAR
x: 0
'y': 0
"y": 0
waypoints:
- X1-OE-PM
- X1-OE-PM01
@ -46,9 +46,9 @@ properties:
type: string
minLength: 1
x:
type: number
'y':
type: number
type: integer
"y":
type: integer
waypoints:
type: array
items:
@ -62,13 +62,13 @@ properties:
chartedBy:
type:
- string
- 'null'
- "null"
required:
- symbol
- sector
- type
- x
- 'y'
- "y"
- waypoints
- factions
- charted

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
properties:
waypointSymbol:
@ -8,9 +8,9 @@ properties:
type: string
minLength: 1
credits:
type: number
type: integer
units:
type: number
type: integer
required:
- waypointSymbol
- tradeSymbol

View File

@ -1,4 +1,4 @@
description: ''
description: ""
type: object
x-examples:
example-1:
@ -6,7 +6,7 @@ x-examples:
symbol: X1-OE-PM
type: PLANET
x: 10
'y': 5
"y": 5
orbitals:
- X1-OE-PM01
faction: COMMERCE_REPUBLIC
@ -26,7 +26,7 @@ examples:
symbol: X1-OE-PM
type: PLANET
x: 10
'y': 5
"y": 5
orbitals:
- X1-OE-PM01
faction: COMMERCE_REPUBLIC
@ -52,9 +52,9 @@ properties:
type: string
minLength: 1
x:
type: number
'y':
type: number
type: integer
"y":
type: integer
orbitals:
type: array
items:
@ -75,13 +75,13 @@ properties:
chartedBy:
type:
- string
- 'null'
- "null"
required:
- system
- symbol
- type
- x
- 'y'
- "y"
- orbitals
- faction
- features