---
url: /api/specs/schema/types/fn/oas/function-transform-security.md
description: api documentation of transformSecurity from @tsed/schema
---

## Usage

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

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

## Overview

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