-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
This is a follow-up for the spike #2318, see the discussion and PoC code for more context.
Implement @loopback/booter-lb3app, a Booter implementation that takes existing LB3 codebase, boots the application, converts its Swagger spec to OpenAPI v3 and then mounts the app on the target LB4 application, including the spec.
The booter package should not have any runtime dependency on @loopback/boot, it should use peerDependencies to specify which core packages it works with and dev-dependencies for development & testing. List of packages to put in peer dependencies:
@loopback/core@loopback/boot@loopback/rest
Proposed user experience: README#basic-use
PoC implementation: lb3app.booter.ts
Acceptance criteria
- New package
packages/booter-lb3app - Adequate test coverage
- A README file providing enough information for users discovering this package via npm. Make sure to adhere to our README guidelines
- Configure our docs to render booter's README under Using components sidebar section. Use the same approach we did for REST API Explorer, see README layout for technical details.