api-docs/models/Trade.yaml

30 lines
483 B
YAML
Raw Normal View History

2022-03-12 02:55:54 +01:00
description: ''
type: object
properties:
waypointSymbol:
type: string
minLength: 1
tradeSymbol:
type: string
minLength: 1
credits:
type: number
units:
type: number
required:
- waypointSymbol
- tradeSymbol
- credits
- units
x-examples:
example-1:
waypointSymbol: X1-OE-PM
tradeSymbol: MICROPROCESSORS
credits: -843
units: 1
examples:
- waypointSymbol: X1-OE-PM
tradeSymbol: MICROPROCESSORS
credits: 843
units: 1