diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-28 01:19:20 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-28 01:19:20 +0800 |
commit | 43d7045a5badf61efabffc2844cc6e14fe6f424f (patch) | |
tree | 6c1ad4a634fdb10578463238c6d8f393db590c8d | |
parent | 78a4b9897ce7ead2fdfe0778949b57f6ae1d9e83 (diff) | |
download | dexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.tar.gz dexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.tar.zst dexon-0x-contracts-43d7045a5badf61efabffc2844cc6e14fe6f424f.zip |
Add scripts
-rw-r--r-- | packages/sra-api/.npmignore | 1 | ||||
-rw-r--r-- | packages/sra-api/src/api.ts | 9 |
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': { |