Skip to content

Commit 97071d7

Browse files
authored
Update README.md
1 parent 0c4d7f1 commit 97071d7

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
@@ -811,7 +811,7 @@ As an example `z.string().nullable()` will be rendered differently
811811
- `prefixItems` mapping for OpenAPI 3.1.0+
812812
- ZodUndefined
813813
- ZodUnion
814-
- By default it outputs an `allOf` schema. Use `unionOneOf` to change this to output `oneOf` instead.
814+
- By default it outputs an `anyOf` schema. Use `unionOneOf` to change this to output `oneOf` instead.
815815
- ZodUnknown
816816

817817
If this library cannot determine a type for a Zod Schema, it will throw an error. To avoid this, declare a manual `type` in the `.openapi()` section of that schema.

0 commit comments

Comments
 (0)