@loopback/docs
Version:
Documentation for LoopBack 4
31 lines (20 loc) • 939 B
Markdown
lang: en
title: 'API docs: rest-explorer.restexplorercomponent.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest-explorer.restexplorercomponent.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest-explorer](./rest-explorer.md) > [RestExplorerComponent](./rest-explorer.restexplorercomponent.md) > [(constructor)](./rest-explorer.restexplorercomponent.(constructor).md)
## RestExplorerComponent.(constructor)
Constructs a new instance of the `RestExplorerComponent` class
<b>Signature:</b>
```typescript
constructor(application: RestApplication, config?: RestExplorerConfig);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| application | <code>RestApplication</code> | |
| config | <code>RestExplorerConfig</code> | |