Skip to content

Commit

Permalink
Update document.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Nov 14, 2024
1 parent 02277cb commit 9b1d0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/create/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export interface CreateDocumentOptions {
*/
defaultDateSchema?: Pick<oas31.SchemaObject, 'type' | 'format'>;
/**
* Used to set the output of a ZodUnion to be `oneOf` instead of `allOf`
* Used to set the output of a ZodUnion to be `oneOf` instead of `anyOf`
*/
unionOneOf?: boolean;
}
Expand Down

0 comments on commit 9b1d0f2

Please sign in to comment.