Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Apr 29, 2024
1 parent d90ad74 commit 221add3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@ Use the `.openapi()` method to add metadata to a specific Zod type. The `.openap
Creates an OpenAPI documentation object

```typescript
import 'zod-openapi/extend';
import { z } from 'zod';
import { createDocument, extendZodWithOpenApi } from 'zod-openapi';
import { createDocument } from 'zod-openapi';

const jobId = z.string().openapi({
description: 'A unique identifier for a job',
Expand Down

0 comments on commit 221add3

Please sign in to comment.