@loopback/rest-explorer

    This module contains a component adding a self-hosted REST API Explorer toLoopBack applications.

    Basic use

    The component should be loaded in the constructor of your custom Applicationclass. Applications scaffolded by recent versions of our CLI tool have theself-hosted REST API Explorer pre-configured out of the box.

    In the constructor, add the component to your application:

    By default, API Explorer is mounted at . This path can be customizedvia RestExplorer configuration as follows:

    NOTE: The Explorer UI’s visual style is not customizable yet. Our recommendedsolution is to create a fork of this module, make any style changes in the forkand publish the modified module under a different name. The isrequesting a configuration option for customizing the visual style, pleaseup-vote the issue and/or join the discussion if you are interested in thisfeature.

    Tests

    Run from the root folder.

    License

    MIT