generated from finos-labs/project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 61
/
openapi.yaml
52 lines (52 loc) · 1.07 KB
/
openapi.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
openapi: 3.0.1
info:
title: FINOS TraderX Trade Service
version: 0.1.0
servers:
- url: ''
paths:
/trade/:
post:
tags:
- trade-order-controller
operationId: createTradeOrder
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TradeOrder'
required: true
responses:
'200':
description: OK
content:
'application/json':
schema:
$ref: '#/components/schemas/TradeOrder'
components:
schemas:
TradeOrder:
type: object
properties:
id:
type: string
example: 'ABC-123-XYZ'
state:
type: string
example: 'New'
security:
type: string
example: 'ADBE'
quantity:
type: integer
format: int32
example: 100
accountID:
type: integer
format: int32
example: 22214
side:
type: string
enum:
- Buy
- Sell