api-docs/models/Trade.yaml

30 lines
485 B
YAML
Raw Normal View History

description: ""
2022-03-12 02:55:54 +01:00
type: object
properties:
waypointSymbol:
type: string
minLength: 1
tradeSymbol:
type: string
minLength: 1
credits:
type: integer
2022-03-12 02:55:54 +01:00
units:
type: integer
2022-03-12 02:55:54 +01:00
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