Skip to content

Commit

Permalink
feat: remove openapi-v3 from apiconnect dependencies
Browse files Browse the repository at this point in the history
Use `@loopback/rest` to access openapi-related types and helpers.

Signed-off-by: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bajtos committed Jul 16, 2020
1 parent 9cdbfad commit 72ae24c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions extensions/apiconnect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,12 @@
},
"dependencies": {
"@loopback/core": "^2.9.1",
"@loopback/openapi-v3": "^3.4.5",
"@loopback/rest": "^5.2.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@loopback/build": "^6.1.0",
"@loopback/eslint-config": "^8.0.3",
"@loopback/rest": "^5.2.0",
"@loopback/testlab": "^3.2.0",
"@types/node": "^10.17.27"
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/apiconnect/src/apiconnect.spec-enhancer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions extensions/apiconnect/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
{
"path": "../../packages/core/tsconfig.json"
},
{
"path": "../../packages/openapi-v3/tsconfig.json"
},
{
"path": "../../packages/rest/tsconfig.json"
},
Expand Down

0 comments on commit 72ae24c

Please sign in to comment.