aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-api
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-07-28 01:19:20 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-07-28 01:19:20 +0800
commit43d7045a5badf61efabffc2844cc6e14fe6f424f (patch)
tree6c1ad4a634fdb10578463238c6d8f393db590c8d /packages/sra-api
parent78a4b9897ce7ead2fdfe0778949b57f6ae1d9e83 (diff)
downloaddexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.tar.gz
dexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.tar.zst
dexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.zip
Add scripts
Diffstat (limited to 'packages/sra-api')
-rw-r--r--packages/sra-api/.npmignore1
-rw-r--r--packages/sra-api/src/api.ts9
2 files changed, 4 insertions, 6 deletions
diff --git a/packages/sra-api/.npmignore b/packages/sra-api/.npmignore
index 5333847e7..3a1d6805e 100644
--- a/packages/sra-api/.npmignore
+++ b/packages/sra-api/.npmignore
@@ -1,7 +1,6 @@
.*
yarn-error.log
/src/
-/scripts/
/schemas/
test/
tsconfig.json
diff --git a/packages/sra-api/src/api.ts b/packages/sra-api/src/api.ts
index 9043f6245..c05311516 100644
--- a/packages/sra-api/src/api.ts
+++ b/packages/sra-api/src/api.ts
@@ -4,15 +4,14 @@ export const api: OpenApiSpec = {
openapi: '3.0.0',
info: {
version: '1.0.0',
- title: 'Swagger Petstore',
+ title: 'Standard Relayer REST API',
license: {
- name: 'MIT',
+ name: 'Apache 2.0',
+ url: 'https://www.apache.org/licenses/LICENSE-2.0.html',
},
},
servers: [
- {
- url: 'http://petstore.swagger.io/v1',
- },
+ // TODO: Use relayer registry information here?
],
paths: {
'/pets': {