-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
In a follow-up to #5659 and #5550, we should update our docs, examples and CLI templates to load openapi-v3 APIs from @loopback/rest, so that framework users do not need to learn about @loopback/openapi-v3 package.
Acceptance criteria
In the search commands listed below, rg refers to RipGrep.
-
Remove
@loopback/openapi-v3from allpackage.jsonfiles EXCEPTpackages/rest/package.json. Updatepackage-lock.jsonfiles where necessary. Search command:$ rg loopback/openapi-v3 -g package.json
--> feat: remove openapi-v3 from apiconnect dependencies #5927, refactor: remove
@loopback/openapi-v3from dependencies #5932 -
Remove
@loopback/openapi-v3in CLI templates and update tests as necessary.packages/cli/generators/project/templates/package.json.ejspackages/cli/generators/project/templates/package.plain.json.ejs.
--> feat(cli): remove openapi-v3 from project template dependencies #5926
-
Update code in examples, replace imports from
@loopback/openapi-v3to import from@loopback/restinstead. Search command:$ rg loopback/openapi-v3 examples/ -g '!package.json'--> feat: remove openapi-v3 from apiconnect dependencies #5927, refactor: remove
@loopback/openapi-v3from dependencies #5932 -
Update code snippets in our documentation, replace imports from
@loopback/openapi-v3to import from@loopback/restinstead. Search command:rg loopback/openapi-v3 docs/site
-
Final check: review remaining references to
@loopback/openapi-v3and verify they are all desired. Search command:$ rg loopback/openapi-v3 -g '!CHANGELOG.md'