aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-15 08:16:03 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-15 08:16:03 +0800
commit80e5127a469a0f38cddc18a45a4a7e019191760c (patch)
tree6f204b4d0f91221bb35f3a9727ad29c122024981 /packages/sra-api
parent5c40c466f6e9f690afa86f23dd5ba240691dceb8 (diff)
downloaddexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar.gz
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar.bz2
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar.lz
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar.xz
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.tar.zst
dexon-sol-tools-80e5127a469a0f38cddc18a45a4a7e019191760c.zip
Update types and add missing param to SRA spec
Diffstat (limited to 'packages/sra-api')
-rw-r--r--packages/sra-api/src/api.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index 4143a663c..f80d343d8 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -151,6 +151,15 @@ export const api: OpenApiSpec = {
},
},
{
+ name: 'takerAddress',
+ in: 'query',
+ description: `Same as takerAddress in the [0x Protocol v2 Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#order-message-format)`,
+ example: '0xe41d2489571d322189246dafa5ebde1f4699f498',
+ schema: {
+ $ref: '#/components/schemas/addressSchema',
+ },
+ },
+ {
name: 'traderAddress',
in: 'query',
description: `Same as traderAddress in the [0x Protocol v2 Specification](https://github.com/0xProject/0x-protocol-specification/blob/master/v2/v2-specification.md#order-message-format)`,