aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api/src
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-08 04:36:59 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-08 04:36:59 +0800
commit3b542bf356f14e7bfd5bbd740d2df55ff64e1309 (patch)
tree6f7934e2ab7526b2ee63f69ed179167855a64cfd /packages/sra-api/src
parentbe472b61e776ea44a872b54742af8664660aa27c (diff)
downloaddexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar.gz
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar.bz2
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar.lz
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar.xz
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.tar.zst
dexon-sol-tools-3b542bf356f14e7bfd5bbd740d2df55ff64e1309.zip
Add static site build
Diffstat (limited to 'packages/sra-api/src')
-rw-r--r--packages/sra-api/src/api.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index da61cb1b0..762d3f4d6 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -19,11 +19,8 @@ export const api: OpenApiSpec = {
url: 'https://www.apache.org/licenses/LICENSE-2.0.html',
},
},
- servers: [
- // TODO: Use relayer registry information here?
- ],
paths: {
- '/asset_pairs': {
+ '/v2/asset_pairs': {
get: {
description:
'Retrieves a list of available asset pairs and the information required to trade them (in any order). Setting only `asset_data_a` or `asset_data_b` returns pairs filtered by that asset only.',