---
url: >-
  /api/specs/schema-async-api/types/components/function-response-payload-mapper.md
description: api documentation of responsePayloadMapper from @tsed/schema-async-api
---

## Usage

```typescript
import { responsePayloadMapper } from "@tsed/schema-async-api";
```

> See [/packages/specs/schema-async-api/src/components/responseMapper.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/specs/schema-async-api/src/components/responseMapper.ts#L0-L0).

## Overview

```ts
function responsePayloadMapper(jsonOperationStore: JsonMethodStore, operationPath: JsonMethodPath, options: JsonSchemaOptions): {
    $ref: string;
};
```

## $ref

```ts
$ref: string;
```
