Skip to content

Commit a6a6d20

Browse files
committed
fix usage in README
1 parent 8a486a9 commit a6a6d20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ yarn add -D @omer-x/openapi-types
2424
Import the types you need in your TypeScript project:
2525

2626
```typescript
27-
import { OpenAPIObject, InfoObject, PathsObject } from '@omer-x/openapi-types';
27+
import { OpenApiDocument } from '@omer-x/openapi-types';
2828

2929
// Example usage
30-
const openApiSpec: OpenAPIObject = {
30+
const openApiSpec: OpenApiDocument = {
3131
openapi: "3.1.0",
3232
info: {
3333
title: "Sample API",

0 commit comments

Comments
 (0)