---
lang: en
title: 'API docs: rest-explorer.restexplorercomponent'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest-explorer
permalink: /doc/en/lb4/apidocs.rest-explorer.restexplorercomponent.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest-explorer](./rest-explorer.md) &gt; [RestExplorerComponent](./rest-explorer.restexplorercomponent.md)

## RestExplorerComponent class

A component providing a self-hosted API Explorer.

**Signature:**

```typescript
export declare class RestExplorerComponent implements Component 
```
**Implements:** [Component](./core.component.md)

## Constructors

<table><thead><tr><th>

Constructor


</th><th>

Modifiers


</th><th>

Description


</th></tr></thead>
<tbody><tr><td markdown="1">

[(constructor)(application, restExplorerConfig)](./rest-explorer.restexplorercomponent._constructor_.md)


</td><td markdown="1">


</td><td markdown="1">

Constructs a new instance of the `RestExplorerComponent` class


</td></tr>
</tbody></table>


