Skip to content

Commit 02277cb

Browse files
authored
Update README.md
1 parent b189f60 commit 02277cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const document = createDocument({
205205
```typescript
206206
const document = createDocument(details, {
207207
defaultDateSchema: { type: 'string', format: 'date-time' }, // defaults to { type: 'string' }
208-
unionOneOf: true, // defaults to false. Forces all ZodUnions to output oneOf instead of allOf. An `.openapi()` `unionOneOf` value takes precedence over this one.
208+
unionOneOf: true, // defaults to false. Forces all ZodUnions to output oneOf instead of anyOf. An `.openapi()` `unionOneOf` value takes precedence over this one.
209209
});
210210
```
211211

0 commit comments

Comments
 (0)