diff --git a/extensions/apiconnect/package.json b/extensions/apiconnect/package.json index 1e2f9db6a7bf..4a13292e67f0 100644 --- a/extensions/apiconnect/package.json +++ b/extensions/apiconnect/package.json @@ -39,12 +39,15 @@ "directory": "extensions/apiconnect" }, "dependencies": { - "@loopback/core": "^2.9.1", - "@loopback/openapi-v3": "^3.4.5", "tslib": "^2.0.0" }, + "peerDependencies": { + "@loopback/core": "^2.9.1", + "@loopback/rest": "^5.2.0" + }, "devDependencies": { "@loopback/build": "^6.1.0", + "@loopback/core": "^2.9.1", "@loopback/eslint-config": "^8.0.3", "@loopback/rest": "^5.2.0", "@loopback/testlab": "^3.2.0", diff --git a/extensions/apiconnect/src/apiconnect.spec-enhancer.ts b/extensions/apiconnect/src/apiconnect.spec-enhancer.ts index b2906b5c36b9..1c99da7391a3 100644 --- a/extensions/apiconnect/src/apiconnect.spec-enhancer.ts +++ b/extensions/apiconnect/src/apiconnect.spec-enhancer.ts @@ -10,7 +10,7 @@ import { CoreBindings, inject, } from '@loopback/core'; -import {asSpecEnhancer, OASEnhancer, OpenAPIObject} from '@loopback/openapi-v3'; +import {asSpecEnhancer, OASEnhancer, OpenAPIObject} from '@loopback/rest'; /** * Configuration for IBM API Connect extensions to the OpenAPI spec diff --git a/extensions/apiconnect/tsconfig.json b/extensions/apiconnect/tsconfig.json index d86749617e9a..bdd4f3eb6b2a 100644 --- a/extensions/apiconnect/tsconfig.json +++ b/extensions/apiconnect/tsconfig.json @@ -13,9 +13,6 @@ { "path": "../../packages/core/tsconfig.json" }, - { - "path": "../../packages/openapi-v3/tsconfig.json" - }, { "path": "../../packages/rest/tsconfig.json" },