---
url: >-
  /api/specs/schema/types/components/mappers/open-spec/function-operation-mapper.md
description: api documentation of operationMapper from @tsed/schema
---

## Usage

```typescript
import { operationMapper } from "@tsed/schema";
```

> See [/packages/specs/schema/src/components/mappers/open-spec/operationMapper.ts](https://github.com/tsedio/tsed/blob/v8.37.1/packages/specs/schema/src/components/mappers/open-spec/operationMapper.ts#L0-L0).

## Overview

```ts
function operationMapper(jsonOperation: JsonOperation, { tags, defaultTags, ...options }?: JsonSchemaOptions): any;
```
