---
meta:
 - name: keywords
   description: api typescript node.js documentation readSpec function
---
# readSpec - @tsed/openapi-utils

## Usage

```typescript
import { readSpec } from "@tsed/openapi-utils";
```

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

## Overview

```ts
function readSpec(path: string): Promise<any>;
```
