From 9db9345a6d18e454fbb720a01f15bdb0f344581f Mon Sep 17 00:00:00 2001 From: jannyHou Date: Fri, 15 Dec 2017 16:51:12 -0500 Subject: [PATCH] fix: add dependency --- packages/authentication/package.json | 1 + packages/authentication/test/acceptance/basic-auth.ts | 3 +-- packages/rest/package.json | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/packages/authentication/package.json b/packages/authentication/package.json index 64247355b716..deebd04e4952 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -25,6 +25,7 @@ "dependencies": { "@loopback/context": "^4.0.0-alpha.24", "@loopback/core": "^4.0.0-alpha.26", + "@loopback/openapi-specgen": "1.0.0-alpha1", "@loopback/rest": "^4.0.0-alpha.15", "passport": "^0.4.0", "passport-strategy": "^1.0.0" diff --git a/packages/authentication/test/acceptance/basic-auth.ts b/packages/authentication/test/acceptance/basic-auth.ts index 98d18f141c23..9e37a1bc8ba1 100644 --- a/packages/authentication/test/acceptance/basic-auth.ts +++ b/packages/authentication/test/acceptance/basic-auth.ts @@ -5,7 +5,6 @@ import {Application} from '@loopback/core'; import { - api, RestBindings, ServerResponse, ParsedRequest, @@ -15,10 +14,10 @@ import { Send, Reject, SequenceHandler, - get, RestServer, RestComponent, } from '@loopback/rest'; +import {api, get} from '@loopback/openapi-specgen'; import {Client, createClientForHandler} from '@loopback/testlab'; import {anOpenApiSpec} from '@loopback/openapi-spec-builder'; import {inject, Provider, ValueOrPromise} from '@loopback/context'; diff --git a/packages/rest/package.json b/packages/rest/package.json index 278eff4048dd..359f0486721f 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -23,9 +23,10 @@ "author": "IBM", "license": "MIT", "dependencies": { - "@loopback/context": "^4.0.0-alpha.24", - "@loopback/core": "^4.0.0-alpha.26", - "@loopback/openapi-spec": "^4.0.0-alpha.18", + "@loopback/context": "^4.0.0-alpha.23", + "@loopback/core": "^4.0.0-alpha.25", + "@loopback/openapi-spec": "^4.0.0-alpha.17", + "@loopback/openapi-specgen": "^1.0.0-alpha.1", "@types/http-errors": "^1.6.1", "body": "^5.1.0", "debug": "^3.1.0",