diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-07-27 05:47:02 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-07-27 05:47:02 +0800 |
commit | 4fe410a277f13bc637ffe1c1c5b023d957a2bef8 (patch) | |
tree | 511d43091518c5a6eb8a8b92ab21294f3bafea93 /packages | |
parent | 3235606644fda04a7a8933151ec129e307a4c494 (diff) | |
download | dexon-0x-contracts-4fe410a277f13bc637ffe1c1c5b023d957a2bef8.tar.gz dexon-0x-contracts-4fe410a277f13bc637ffe1c1c5b023d957a2bef8.tar.zst dexon-0x-contracts-4fe410a277f13bc637ffe1c1c5b023d957a2bef8.zip |
Add typescript typings for Open API spec
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sra/package.json | 1 | ||||
-rw-r--r-- | packages/sra/src/api.ts | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/sra/package.json b/packages/sra/package.json index 47faafd92..cede40761 100644 --- a/packages/sra/package.json +++ b/packages/sra/package.json @@ -31,6 +31,7 @@ "dependencies": {}, "devDependencies": { "@0xproject/tslint-config": "^1.0.4", + "@loopback/openapi-v3-types": "^0.8.2", "@types/mocha": "^2.2.42", "chai": "^4.0.1", "copyfiles": "^1.2.0", diff --git a/packages/sra/src/api.ts b/packages/sra/src/api.ts index 98b5ce96a..9043f6245 100644 --- a/packages/sra/src/api.ts +++ b/packages/sra/src/api.ts @@ -1,4 +1,6 @@ -export const api = { +import { OpenApiSpec } from '@loopback/openapi-v3-types'; + +export const api: OpenApiSpec = { openapi: '3.0.0', info: { version: '1.0.0', |