diff options
Diffstat (limited to 'packages/sra')
-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', |