Add static site build
This commit is contained in:
parent
be472b61e7
commit
3b542bf356
@ -5,3 +5,4 @@ yarn-error.log
|
||||
test/
|
||||
tsconfig.json
|
||||
/lib/src/monorepo_scripts/
|
||||
/public/
|
@ -19,6 +19,7 @@
|
||||
"run_mocha": "mocha lib/test/**/*_test.js --exit",
|
||||
"clean": "shx rm -rf lib",
|
||||
"build": "tsc && yarn build-json",
|
||||
"build-site": "yarn build-json && redoc-cli bundle lib/api.json --output public/index.html",
|
||||
"build-json": "ts-node scripts/buildJson.ts",
|
||||
"build-json:watch": "chokidar 'src/**/*' -c 'yarn build-json' "
|
||||
},
|
||||
|
@ -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.',
|
||||
|
Loading…
x
Reference in New Issue
Block a user