---
meta:
 - name: keywords
   description: api typescript node.js documentation messageMapper function
---
# messageMapper - @tsed/schema-async-api

## Usage

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

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

## Overview

```ts
function messageMapper(jsonOperationStore: JsonMethodStore, operationPath: JsonMethodPath, { tags, defaultTags, ...options }?: JsonSchemaOptions): {
    $ref: string;
};
```

<!-- Members -->

## $ref

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