@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
33 lines (21 loc) • 861 B
Markdown
lang: en
title: 'API docs: rest.resthttperrors.missingrequired'
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.resthttperrors.missingrequired.html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RestHttpErrors](./rest.resthttperrors.md) > [missingRequired](./rest.resthttperrors.missingrequired.md)
## RestHttpErrors.missingRequired() function
<b>Signature:</b>
```typescript
function missingRequired(name: string): HttpErrors.HttpError;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| name | string | |
<b>Returns:</b>
HttpErrors.HttpError