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

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RouterSpec](./rest.routerspec.md)

## RouterSpec type

<b>Signature:</b>

```typescript
export declare type RouterSpec = Pick<OpenApiSpec, 'paths' | 'components' | 'tags'>;
```
<b>References:</b> [OpenApiSpec](./openapi-v3.openapispec.md)


