aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src/api.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-09 05:28:09 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-09 05:28:09 +0800
commit6121a6d2bffed7187a875148a5e36d0b4b7645ac (patch)
tree5820365272379d3808482cb6bf416c6c68fc19cb /packages/sra-api/src/api.ts
parentcc67c0df51037d093567b82fa4ca7962c5c3bfdd (diff)
downloaddexon-0x-contracts-6121a6d2bffed7187a875148a5e36d0b4b7645ac.tar.gz
dexon-0x-contracts-6121a6d2bffed7187a875148a5e36d0b4b7645ac.tar.zst
dexon-0x-contracts-6121a6d2bffed7187a875148a5e36d0b4b7645ac.zip
Add to changelog and fix OrderBook typo
Diffstat (limited to 'packages/sra-api/src/api.ts')
-rw-r--r--packages/sra-api/src/api.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index e578ddc74..c2236fda5 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -206,7 +206,7 @@ export const api: OpenApiSpec = {
'/v2/orderbook': {
get: {
description: `Retrieves the orderbook for a given asset pair. This endpoint should be [paginated](#section/Pagination). Bids will be sorted in descending order by price, and asks will be sorted in ascending order by price. Within the price sorted orders, the orders are further sorted by _taker fee price_ which is defined as the **takerFee** divided by **takerTokenAmount**. After _taker fee price_, orders are to be sorted by expiration in ascending order. The way pagination works for this endpoint is that the **page** and **per_page** query params apply to both \`bids\` and \`asks\` collections, and if \`page\` * \`per_page\` > \`total\` for a certain collection, the \`records\` for that collection should just be empty. `,
- operationId: 'getOrderBook',
+ operationId: 'getOrderbook',
parameters: generateParameters(
[
{
@@ -233,8 +233,8 @@ export const api: OpenApiSpec = {
true,
),
responses: generateResponses(
- 'relayerApiOrderBookResponseSchema',
- examples.relayerApiOrderBookResponse,
+ 'relayerApiOrderbookResponseSchema',
+ examples.relayerApiOrderbookResponse,
`The sorted order book for the specified asset pair.`,
),
},