Note: This page was generated from the loopback-next/packages/booter-lb3app/README.md.

@loopback/booter-lb3app

Boot a LoopBack 3 application and expose its REST API via LoopBack 4.

Overview

The @loopback/booter-lb3app package provides a way for LoopBack 3 developersto boot their LoopBack 3 application, convert the application’s Swagger specinto OpenAPI v3, and then mount the application, including its spec, onto atarget LoopBack 4 application.

Installation

  1. npm install --save @loopback/booter-lb3app

Basic use

Import the component at the top of your src/application.ts file.

  1. import {Lb3AppBooterComponent} from '@loopback/booter-lb3app';

Register the component in Application’s constructor:

  1. this.component(Lb3AppBooterComponent);

Contributions

Tests

Run npm test from the root folder.

Contributors

Seeall contributors.

License

MIT