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

## Usage

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

> See [/packages/specs/schema/src/utils/transformToOS2.ts](https://github.com/tsedio/tsed/blob/v8.27.0/packages/specs/schema/src/utils/transformToOS2.ts#L0-L0).

## Overview

```ts
function transformSecurity(securitySchemes: any): Record<string, OS2Security>;
```
